Thread: Trouble building libjpeg

  1. #1
    Registered User
    Join Date
    Jul 2011
    Posts
    5

    Trouble building libjpeg

    I followed the instructions given in the install.txt for libjpeg8c
    To use:
    1. Open the command prompt, change to the main directory and execute the
    command line
    NMAKE /f makefile.vc setup-v10
    This will move jconfig.vc to jconfig.h and makefiles to project files.
    (Note that the renaming is critical!)
    2. Open the solution file jpeg.sln, build the library project.
    (If you are using Visual Studio more recent than 2010 (v10), you'll
    probably get a message saying that the project files are being updated.)
    3. Open the solution file apps.sln, build the application projects.
    4. To perform the self-test, execute the command line
    NMAKE /f makefile.vc test-build
    5. Move the application .exe files from `app`\Release to an
    appropriate location on your path.

    but when i open the jpeg.sln I get the error message saying
    Unable to read the project file "jpeg.vcxproj".

    Any idea why this is happening?

  2. #2
    Frequently Quite Prolix dwks's Avatar
    Join Date
    Apr 2005
    Location
    Canada
    Posts
    8,057
    What version of Visual Studio are you using? What version of Visual Studio created the project files? Try googling for "libjpeg build visual studio" plus your version number.
    dwk

    Seek and ye shall find. quaere et invenies.

    "Simplicity does not precede complexity, but follows it." -- Alan Perlis
    "Testing can only prove the presence of bugs, not their absence." -- Edsger Dijkstra
    "The only real mistake is the one from which we learn nothing." -- John Powell


    Other boards: DaniWeb, TPS
    Unofficial Wiki FAQ: cpwiki.sf.net

    My website: http://dwks.theprogrammingsite.com/
    Projects: codeform, xuni, atlantis, nort, etc.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. trouble using libjpeg
    By divsragha in forum Game Programming
    Replies: 7
    Last Post: 07-12-2011, 10:17 AM
  2. linker error when using libjpeg
    By s-men in forum C++ Programming
    Replies: 2
    Last Post: 08-21-2008, 10:02 AM
  3. libjpeg problems linking in cpp
    By parad0x13 in forum C++ Programming
    Replies: 4
    Last Post: 07-19-2008, 04:29 PM
  4. libjpeg sgefault on jpeg_read_scanlines()
    By Syko in forum C Programming
    Replies: 6
    Last Post: 11-27-2005, 02:14 AM
  5. Compiler errors when using libjpeg.
    By Nikanoru in forum C++ Programming
    Replies: 11
    Last Post: 08-07-2003, 06:46 AM

Tags for this Thread