2018.10.26 15:45 "[Tiff] nmake not finding zlib.h", by Camilo Diaz

2018.10.26 15:56 "Re: [Tiff] nmake not finding zlib.h", by Even Rouault

On vendredi 26 octobre 2018 11:45:59 CEST Camilo Diaz wrote:

I dont know if there is someone here willing to help.
I want to build libtiff for vs 2013; I'm executing

nmake /f Makefile.vc

but it throws the error:

*tif_zip.c(50): fatal error C1083: Cannot open include file: 'zlib.h': No
such file or directory*

In the file nmake.opt I enabled the zlib option like this:

ZIP_SUPPORT = 1
ZLIBDIR = c:/zlib/lib
ZLIB_INCLUDE = -I$(ZLIBDIR)

Is zlib.h really in ZLIBDIR=c:/zlib/lib? Isn't it in c:/zlib/include?

--
Spatialys - Geospatial professional services
http://www.spatialys.com