1
1
INSTALLATION INSTRUCTIONS for the Independent JPEG Group's JPEG software
2
2
3
- Copyright (C) 1991-2009 , Thomas G. Lane, Guido Vollbeding.
3
+ Copyright (C) 1991-2010 , Thomas G. Lane, Guido Vollbeding.
4
4
This file is part of the Independent JPEG Group's software.
5
5
For conditions of distribution and use, see the accompanying README file.
6
6
@@ -149,7 +149,7 @@ makefile.mc6 jconfig.mc6 MS-DOS, Microsoft C (16-bit only)
149
149
makefile.wat jconfig.wat MS-DOS, OS/2, or Windows NT, Watcom C
150
150
makefile.vc jconfig.vc Windows NT/95, MS Visual C++
151
151
make*.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 )
153
153
makefile.mms jconfig.vms Digital VMS, with MMS software
154
154
makefile.vms jconfig.vms Digital VMS, without MMS software
155
155
@@ -534,17 +534,17 @@ In general, it's worth trying the maximum optimization level of your compiler,
534
534
and experimenting with any optional optimizations such as loop unrolling.
535
535
(Unfortunately, far too many compilers have optimizer bugs ... be prepared to
536
536
back 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.
540
540
541
541
542
542
HINTS FOR SPECIFIC SYSTEMS
543
543
==========================
544
544
545
545
We 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.
548
548
549
549
550
550
Acorn RISC OS:
@@ -998,8 +998,8 @@ model. makefile.vc is intended for command-line use. (If you are using
998
998
the Developer Studio environment, you may prefer the DevStudio project
999
999
files; see below.)
1000
1000
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.
1003
1003
You can also force VC++ to treat the library as C++ code by renaming
1004
1004
all the *.c files to *.cpp (and adjusting the makefile to match).
1005
1005
In 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
1015
1015
recommend building the applications so that you can run the self-test.)
1016
1016
1017
1017
To 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.
1030
1024
(If you are using DevStudio more recent than 6.0, you'll probably
1031
1025
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
1034
1030
appropriate location on your path.
1035
- 5. To perform the self-test, execute the command line
1036
- NMAKE /f makefile.vc test
1037
1031
1038
1032
1039
- Microsoft Windows, Microsoft Visual C++ 2008 Developer Studio (v9 ):
1033
+ Microsoft Windows, Microsoft Visual C++ 2010 Developer Studio (v10 ):
1040
1034
1041
1035
We 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
1043
1037
as a static Win32 library, and application makefiles that build the sample
1044
1038
applications as Win32 console applications. (Even if you only want the
1045
1039
library, we recommend building the applications so that you can run the
1046
1040
self-test.)
1047
1041
1048
1042
To 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
1060
1055
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.
1063
1062
1064
1063
1065
1064
OS/2, Borland C++:
0 commit comments