2005.03.14 15:54 "[Tiff] libTIFF 3.7.1 vs. Borland C++ Builder 5", by Roger Watkins

2005.03.14 20:30 "Re: [Tiff] libTIFF 3.7.1 vs. Borland C++ Builder 5", by Joris Van Damme

Roger,

After looking through the archive history, I noted that 3.7 is a step towards not using only .h files only for setup, and that compiler specific make files are now being used.

Indeed, that seems to be the problem here.

I personally don't use makefiles and the lot, and have compiled LibTiff without them, with Borland C++ Builder 5.00. To enable this, I've added the following to the top of tif_config.h.

#define AVOID_WIN32_FILEIO 1
#define HAVE_STRING_H 1
#define NDEBUG
#define COMPRESSION_SUPPORT 1
#define LZW_SUPPORT 1
#define PACKBITS_SUPPORT 1
#define THUNDER_SUPPORT 1
#define NEXT_SUPPORT 1
#define CCITT_SUPPORT 1
#define JPEG_SUPPORT 1
#define ZIP_SUPPORT 1
#define PIXARLOG_SUPPORT 1
#define SGILOG_SUPPORT 1
#define COLORIMETRY_SUPPORT 1
#define YCBCR_SUPPORT 1
#define CMYK_SUPPORT 1
#define ICC_SUPPORT 1
#define LOGLUV_SUPPORT 1

I know that Andrey really preferes makefiles, and I feel there's very good reason to trust his judgement. Thus, if you do succeed in making things work with BCB, with makefile, please consider contributing the necessary bits and pieces.

Joris Van Damme
info@awaresystems.be
http://www.awaresystems.be/
Download your free TIFF tag viewer for windows here:
http://www.awaresystems.be/imaging/tiff/astifftagviewer.html