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.09.03 19:11 "libtiff+libjpeg compilation error", by Gennady Khokhorin

Hello, Andrey!
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'. I just change libtiff definition (tif_jpeg.c, lines
62..65) to one from jconfig.h:

/* Define "boolean" as unsigned char, not int, per Windows custom */
#ifndef __RPCNDR_H__		/* don't conflict if rpcndr.h already read */
typedef unsigned char boolean;
#endif
#define HAVE_BOOLEAN		/* prevent jmorecfg.h from redefining it */

I got the same result after changing boolean type definition on libjpeg
side. 

Thanks for you support!

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