AWARE [SYSTEMS] Imaging expertise for the Delphi developer
AWare Systems, Imaging expertise for the Delphi developer, Home TIFF and LibTiff Mailing List Archive

LibTiff Mailing List

TIFF and LibTiff Mailing List Archive
August 2003

Previous Thread
Next Thread

Previous by Thread
Next by Thread

Previous by Date
Next by Date

Contact

The TIFF Mailing List Homepage
This list is run by Frank Warmerdam
Archive maintained by AWare Systems



Valid HTML 4.01!



Thread

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

2003.08.31 22:21 "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:
- libtiff v3.6.0-beta2;
- jpeg-6b;
- msvc++6.0 sp, w2k(sp4)

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

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