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

2003.09.02 19:45 "[Tiff] libtiff+libjpeg compilation error", by Andrey Kiselev

I'm trying to build libtiff.lib supporting jpeg compression (ex. quad-jpeg.tif from v3.4pics.tiff samples). All attempts to use libtiff with libjpeg failed with following error message (tiffinfo.exe from tifflib tools):

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


I don't know, whether my previous e-mair was reached you, I had strange error, but your problem is exactly mismatch between binary library and header files. Look at the jpeg_CreateDecompress() in japimin.c and at the jpeg_create_decompress() macro in jpeglib.h for details.


Andrey V. Kiselev
Home phone: +7 812 5274898 ICQ# 26871517