[Gdal-dev] external libs flags for PNG and JPEG on windows

Yewondwossen Assefa assefa at dmsolutions.ca
Thu Apr 3 11:29:28 EST 2003


Hi There,

 For those building gdal on windows, there are new flags in the
nmake.opt file which can be used to build gdal with external jpeg and
png libraries. These flags are :

#if using an external jpeg library uncomment the follwing lines
JPEG_EXTERNAL_LIB = 1
JPEGDIR = c:/projects/jpeg-6b
JPEG_LIB = $(JPEGDIR)/libjpeg.lib

#if using an external png library uncomment the follwing lines
PNG_EXTERNAL_LIB = 1
PNGDIR = c:/projects/libpng-1.0.8
PNG_LIB = $(PNGDIR)/libpng.lib


Note : there is a new subfolder libjpeg which was created under the jpeg

directory. All files *.c , *.h have been moved into that directory.

Later,

--
----------------------------------------------------------------
Assefa Yewondwossen
Software Analyst

Email: assefa at dmsolutions.ca
http://www.dmsolutions.ca/

Phone: (613) 565-5056 (ext 14)
Fax:   (613) 565-0925
----------------------------------------------------------------






More information about the Gdal-dev mailing list