2004.12.01 01:48 "Re: [Tiff] Problem compiling 3.7.0 on cygwin", by Bob Friesenhahn
I have now compared the jpeglib.h delivered with libjpeg under Cygwin with the official jpeglib.h and am shocked at the degree of difference noticed. All of the "private" structure members have been renamed and some support has been added for lossless JPEG. A number of public defines have been renamed.
There is no comment in the header noting that it is something other than a stock libjpeg 6b header. This seems shameful to me.
Regardless, it appears that libtiff is using a member which is supposed to be private to libjpeg.
I'm trying to compile the 3.7.0 release on a Win2K computer using CYGWIN. (Cygwin is still distributing 3.7.0-beta2.1)
I've uninstalled the cygwin libtiff files (at least I think I got all of them) and run ./configure which tells me that it found JPEG support. (Cygwin distributes jpeg version 6b-11.)
I then run "make" and the build crashes in tif_jpeg.c with the messages: tif_jpeg.c: In function `alloc_downsampled_buffers':
tif_jpeg.c:580: error: structure has no member named `width_in_blocks' tif_jpeg.c: In function `JPEGEncodeRaw':
tif_jpeg.c:1261: error: structure has no member named `width_in_blocks' tif_jpeg.c: In function `JPEGPostEncode':
tif_jpeg.c:1322: error: structure has no member named `width_in_blocks' make: *** [tif_jpeg.lo] Error 1
Is this going to require a different version of the jpeg libraries? And where can I find it? I found a reference to ftp.uu.net:/graphics/jpeg at the top of the file, but I think my office netadmininazi has blocked access to that site.
That Which Does Not Kill Me
Can Still Hurt Really Bad.