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.09.03 04:14 "[Tiff] libtiff + libjpeg compilation errors", by Gennady Khokhorin

2003.09.03 19:52 "[Tiff] libtiff+libjpeg compilation error", by Frank Warmerdam

Yes. It was a problem with type mismatch. With a help from Igor Venevtsev (Moscow, Russia) I'm running tiff with jpeg compression.

Igor pointed out that LibTIFF redefines standard windows 'boolean' (unsigned char) as 'unsigned int'.

Good point, anyway... I shall try to do something with this.

Andrey,

I am thinking my hack in tif_jpeg.c to handle the boolean issue is not wise. What we really want is to force it to use the jpeg.h size for boolean instead of whatever libtiff would normally use. See if you can force it accordingly.

I would add I hate the damn boolean type. I have had headaches for years from folks who think up the clever idea of having a boolean type, and to call it boolean with little regard for the conflicts they are likely to engender with other similarly lame packages.

Best regards,

---------------------------------------+--------------------------------------
I set the clouds in motion - turn up   | Frank Warmerdam, warmerdam@pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | Geospatial Programmer for Rent