2005.09.27 16:15 "[Tiff] libtiff 3.7.4 win32 fails compilation", by Nicklas Norling

2005.11.24 20:36 "Re: [Tiff] Error by creating libtiff.lib library : tiff-3.7.4.zip", by Frank Warmerdam

On 11/22/05, Igor Roth <i.roth@blocr.de> wrote:

Ladies and gentelmen,

I have downloaded your tiff-3.7.4.zip packege and wanted to create

the TIFF-Libraries with:

C:\LIBTIFF\LIBTIFF> nmake /f makefile.vc

The following error has appeared at the compile time.

The file jpeglib.h is really not present in this packege.

What can I do to create this libraries?

Igor,

Review the nmake.opt file. There should be a section that looks like:

#
# Uncomment and edit following lines to enable JPEG support.
#
#JPEG_SUPPORT = 1
#JPEGDIR = d:/projects/jpeg-6b
#JPEG_INCLUDE = -I$(JPEGDIR)
#JPEG_LIB = $(JPEGDIR)/Release/jpeg.lib

Are any of these missing the "#" at the beginning? If so, either add it back to disable jpeg support or you will need to download and pre-built the libjpeg package.

As far as I know, libtiff is distributed with jpeg support disabled by default. If this is not the case, we may need to fixup the default windows build stuff.

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