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 Roger Leigh

On 26/10/2018 16:45, 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

Does anyone know how can I solve/workaround this?

I would suggest using the CMake build, which will find zlib automatically, or you can set the location to search with CMAKE_PREFIX_PATH or ZLIB_ROOT (https://cmake.org/cmake/help/v3.10/module/FindZLIB.html). e.g. -DCMAKE_PREFIX_PATH:PATH=C:\zlib

The documentation is here: http://www.simplesystems.org/libtiff/build.html

You can configure it to generate NMake Makefiles if you want nmake, or else it can use msbuild or Ninja, or other build systems.

Regards,

Roger