| AWARE [SYSTEMS] | Imaging expertise for the Delphi developer | |||||||
![]() |
TIFF and LibTiff Mailing List Archive | |||||||
LibTiff Mailing List
TIFF and LibTiff Mailing List Archive Contact
The TIFF Mailing List Homepage |
Thread2007.06.30 07:29 "Re: Suggested Source Changes for Building libtiff Under Windows", by Kevin MyersHello Andrey, Please see below. Thanks, Kevin M. In a prior message, "Kevin Myers" wrote in part: <snip> > However, while looking back at all of the above I noticed another change > that I had to make in jmorecfg.h that *did* result in compiler errors > while building libtiff if left unchanged. The jmorecfg.h that I was using > contains the following block of code: > > #if (defined (_MSC_VER) && (_MSC_VER >= 800)) > #define HAVE_UNSIGNED_CHAR > #define HAVE_ALL_INTS > #define EXTERN(type) extern type __cdecl > #endif > > I had to comment out the #define HAVE_ALL_INTS, otherwise a block of code > that includes typedefs for UINT8 and UINT16 (among other things) is > bypassed, and this causes problems when the libtiff build tries to process > jpeglib.h, which contains items that are defined as types UINT8 and > UINT16. It looks like the above problem also turns out to be due to an error on my part. I had a few environment variables pointing to the wrong directories for my build environment. After I corrected that problem, the original version of jmorecfg worked properly without any modifications. Sorry for the false alarm. |
|||||||