AWARE SYSTEMS
TIFF and LibTiff Mail List Archive

Thread

2003.08.31 22:21 "[Tiff] compiling libtiff + libjpeg errors", by Gennady Khokhorin
2003.09.02 17:35 "[Tiff] libtiff+libjpeg compilation error", by Gennady Khokhorin
2003.09.02 19:45 "[Tiff] libtiff+libjpeg compilation error", by Andrey Kiselev
2003.09.03 19:11 "[Tiff] libtiff+libjpeg compilation error", by Gennady Khokhorin
2003.09.03 19:27 "[Tiff] libtiff+libjpeg compilation error", by Andrey Kiselev
2003.09.03 19:52 "[Tiff] libtiff+libjpeg compilation error", by Frank Warmerdam

2003.08.31 22:21 "[Tiff] compiling libtiff + libjpeg errors", by Gennady Khokhorin

 I'm trying to create libtiff.lib supporting jpeg compression (ex. quad-jpeg.tif from v3.4pics.tiff samples).

All compilations are fail with following error message(tiffinfo.exe from tifflib tools):

"JPEGLib: JPEG parameter struct mismatch: library thinks size is 432, caller expects 464".

Debugging show failure on jpeg_decompress_struct at TIFFjpeg_create_decompress() stage.

Single/multithred options have no effect. Aligning structures to 1 byte (8 by default) change sizes to 415, 460 respectively. I saw some time ago response from Andrey suggesting to check .lib, .h files involved in process. I have only one copy for each file.

Any advice will be greatly appreciated. My environment:

ps: tiffinfo.exe from tiffTools_bin_354.zip collection works fine.

 Gennady Khokhorin
 Software Developer,
 AeroMap US, Intl
 www.aeromap.com