11INSTALLATION INSTRUCTIONS for the Independent JPEG Group's JPEG software
22
3- Copyright (C) 1991-2009 , Thomas G. Lane, Guido Vollbeding.
3+ Copyright (C) 1991-2010 , Thomas G. Lane, Guido Vollbeding.
44This file is part of the Independent JPEG Group's software.
55For conditions of distribution and use, see the accompanying README file.
66
@@ -149,7 +149,7 @@ makefile.mc6 jconfig.mc6 MS-DOS, Microsoft C (16-bit only)
149149makefile.wat jconfig.wat MS-DOS, OS/2, or Windows NT, Watcom C
150150makefile.vc jconfig.vc Windows NT/95, MS Visual C++
151151make*.vc6 jconfig.vc Windows NT/95, MS Visual C++ 6
152- make*.vc9 jconfig.vc Windows NT/95, MS Visual C++ 2008 (v9 )
152+ make*.v10 jconfig.vc Windows NT/95, MS Visual C++ 2010 (v10 )
153153makefile.mms jconfig.vms Digital VMS, with MMS software
154154makefile.vms jconfig.vms Digital VMS, without MMS software
155155
@@ -534,17 +534,17 @@ In general, it's worth trying the maximum optimization level of your compiler,
534534and experimenting with any optional optimizations such as loop unrolling.
535535(Unfortunately, far too many compilers have optimizer bugs ... be prepared to
536536back off if the code fails self-test.) If you do any experimentation along
537- these lines, please report the optimal settings to jpeg-info@jpegclub.org so
538- we can mention them in future releases. Be sure to specify your machine and
539- compiler version.
537+ these lines, please report the optimal settings to jpeg-info@uc.ag so we
538+ can mention them in future releases. Be sure to specify your machine
539+ and compiler version.
540540
541541
542542HINTS FOR SPECIFIC SYSTEMS
543543==========================
544544
545545We welcome reports on changes needed for systems not mentioned here. Submit
546- 'em to jpeg-info@jpegclub.org . Also, if configure or ckconfig.c is wrong
547- about how to configure the JPEG software for your system, please let us know.
546+ 'em to jpeg-info@uc.ag . Also, if configure or ckconfig.c is wrong about how
547+ to configure the JPEG software for your system, please let us know.
548548
549549
550550Acorn RISC OS:
@@ -998,8 +998,8 @@ model. makefile.vc is intended for command-line use. (If you are using
998998the Developer Studio environment, you may prefer the DevStudio project
999999files; see below.)
10001000
1001- v7 adds extern "C" to jpeglib.h. This avoids the need to put extern "C"
1002- { ... } around #include "jpeglib.h" in your C++ application.
1001+ IJG JPEG 7 adds extern "C" to jpeglib.h. This avoids the need to put
1002+ extern "C" { ... } around #include "jpeglib.h" in your C++ application.
10031003You can also force VC++ to treat the library as C++ code by renaming
10041004all the *.c files to *.cpp (and adjusting the makefile to match).
10051005In this case you also need to define the symbol DONT_USE_EXTERN_C in
@@ -1015,51 +1015,50 @@ as Win32 console applications. (Even if you only want the library, we
10151015recommend building the applications so that you can run the self-test.)
10161016
10171017To use:
1018- 1. Copy jconfig.vc to jconfig.h, makejdsw.vc6 to jpeg.dsw,
1019- makeadsw.vc6 to apps.dsw, makejmak.vc6 to jpeg.mak,
1020- makejdep.vc6 to jpeg.dep, makejdsp.vc6 to jpeg.dsp,
1021- makecmak.vc6 to cjpeg.mak, makecdep.vc6 to cjpeg.dep,
1022- makecdsp.vc6 to cjpeg.dsp, makedmak.vc6 to djpeg.mak,
1023- makeddep.vc6 to djpeg.dep, makeddsp.vc6 to djpeg.dsp,
1024- maketmak.vc6 to jpegtran.mak, maketdep.vc6 to jpegtran.dep,
1025- maketdsp.vc6 to jpegtran.dsp, makermak.vc6 to rdjpgcom.mak,
1026- makerdep.vc6 to rdjpgcom.dep, makerdsp.vc6 to rdjpgcom.dsp,
1027- makewmak.vc6 to wrjpgcom.mak, makewdep.vc6 to wrjpgcom.dep, and
1028- makewdsp.vc6 to wrjpgcom.dsp. (Note that the renaming is critical!)
1029- 2. Click on jpeg.dsw and apps.dsw to load the project workspaces.
1018+ 1. Open the command prompt, change to the main directory and execute the
1019+ command line
1020+ NMAKE /f makefile.vc setup-vc6
1021+ This will move jconfig.vc to jconfig.h and makefiles to project files.
1022+ (Note that the renaming is critical!)
1023+ 2. Open the workspace file jpeg.dsw, build the library project.
10301024 (If you are using DevStudio more recent than 6.0, you'll probably
10311025 get a message saying that the project files are being updated.)
1032- 3. Build the library project, then the applications project.
1033- 4. Move the application .exe files from `app`\Release to an
1026+ 3. Open the workspace file apps.dsw, build the application projects.
1027+ 4. To perform the self-test, execute the command line
1028+ NMAKE /f makefile.vc test-build
1029+ 5. Move the application .exe files from `app`\Release to an
10341030 appropriate location on your path.
1035- 5. To perform the self-test, execute the command line
1036- NMAKE /f makefile.vc test
10371031
10381032
1039- Microsoft Windows, Microsoft Visual C++ 2008 Developer Studio (v9 ):
1033+ Microsoft Windows, Microsoft Visual C++ 2010 Developer Studio (v10 ):
10401034
10411035We include makefiles that should work as project files in Visual Studio
1042- 2008 or later. There is a library makefile that builds the IJG library
1036+ 2010 or later. There is a library makefile that builds the IJG library
10431037as a static Win32 library, and application makefiles that build the sample
10441038applications as Win32 console applications. (Even if you only want the
10451039library, we recommend building the applications so that you can run the
10461040self-test.)
10471041
10481042To use:
1049- 1. Copy jconfig.vc to jconfig.h, makejsln.vc9 to jpeg.sln,
1050- makeasln.vc9 to apps.sln, makejvcp.vc9 to jpeg.vcproj,
1051- makecvcp.vc9 to cjpeg.vcproj, makedvcp.vc9 to djpeg.vcproj,
1052- maketvcp.vc9 to jpegtran.vcproj, makervcp.vc9 to rdjpgcom.vcproj, and
1053- makewvcp.vc9 to wrjpgcom.vcproj. (Note that the renaming is critical!)
1054- 2. Click on jpeg.sln and apps.sln to load the project solutions.
1055- (If you are using Visual Studio more recent than 2008 (v9), you'll
1056- probably get a message saying that the project files are being
1057- updated.)
1058- 3. Build the library project, then the applications project.
1059- 4. Move the application .exe files from `app`\Release to an
1043+ 1. Open the command prompt, change to the main directory and execute the
1044+ command line
1045+ NMAKE /f makefile.vc setup-v10
1046+ This will move jconfig.vc to jconfig.h and makefiles to project files.
1047+ (Note that the renaming is critical!)
1048+ 2. Open the solution file jpeg.sln, build the library project.
1049+ (If you are using Visual Studio more recent than 2010 (v10), you'll
1050+ probably get a message saying that the project files are being updated.)
1051+ 3. Open the solution file apps.sln, build the application projects.
1052+ 4. To perform the self-test, execute the command line
1053+ NMAKE /f makefile.vc test-build
1054+ 5. Move the application .exe files from `app`\Release to an
10601055 appropriate location on your path.
1061- 5. To perform the self-test, execute the command line
1062- NMAKE /f makefile.vc test
1056+
1057+ Note:
1058+ There seems to be an optimization bug in the compiler which causes the
1059+ self-test to fail with the color quantization option.
1060+ We have disabled optimization for the file jquant2.c in the library
1061+ project file which causes the self-test to pass properly.
10631062
10641063
10651064OS/2, Borland C++:
0 commit comments