[Mapserver-users] Compiling GDAL by MinGW

Norman Vine nhv at cape.com
Thu Aug 7 16:36:29 EDT 2003


Hisaji Ono writrs:
> 
>  I could build only gdal.a in following manner.
> 
> CC='gcc -mno-cygwin' CXX='g++ -mno-cygwin'
> ./configure --with-png=../mingw/libpng-1.2.5  --with-jpeg=../mingw/jpeg-6b -
> -with-libtiff=../mingw/tiff-3.5.7/libtiff --without-python --without-geotiff
>  --without-gif --without-gdal --without-ogdi --without-pg --without-grass
> 

> > GDAL should compile fine with MinGW it has for me in
> > the past
>
> > Follow the instructions for Cygwin < Unix > and use all the internal
> > libraries < Tiff, Png, jpeg zlib etc. >

 Above "internal  libraries < Tiff, Png, jpeg zlib etc. >" means libraries 
built by
 GCC with "-mno-cygwin"?

No see below

>  I could not build libgeotiff for mingw. GDAL seems to require this library.
> Could you give any hint for building it?

This i show to configure gal to use the internal versions of the libraries
 
./configure --with-libz=internal --with-png=internal --with-libtiff=internal  \
 --with-geotiff=internal --with-jpeg=internal   .... other configure args

HTH

Norman
 




More information about the mapserver-users mailing list