Le mardi 03 février 2015 08:02:58, Rashad M a écrit : > Hello, > > Is it possible to use existing libz when building gdal on msvc. On linux I > can pass --with-libz= during configure. But on windows I couldn't find any > options in the be-alike nmake.opt > > Also in gdal/port/Makefile.vc there is zlib includes in EXTRAFLAGS which > points to internal zlib from frmts/zlib > > Is there any reason I must you internal zlib with windows?
Rashad, indeed it seems the option has never been implemented. I cannot think of a particular reason why linking against external zlib wouldn't work. This would require mostly editing the relevant makefiles (the one you mention and other ones such as in frmts/gtiff/libtiff etc...). Even > > [1] http://svn.osgeo.org/gdal/trunk/gdal/port/makefile.vc > [2] http://svn.osgeo.org/gdal/trunk/gdal/nmake.opt -- Spatialys - Geospatial professional services http://www.spatialys.com _______________________________________________ gdal-dev mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/gdal-dev
