[Gdal-dev] Compiling ogr/gdal on win32 using MingW

Alessandro Amici alexamici at fastwebnet.it
Tue Jul 13 15:53:11 EDT 2004


Wei Lee,

On Tuesday 13 July 2004 17:22, Woon Wei Lee wrote:
> Has anyone tried compiling gdal on win32 using mingw (or perhaps
> cross-compiling from linux)??

mingw on windows mostly works. the main problem is that you don't get python 
support.

the static library is built out-of-the-box, i'm not sure if the dll is built 
as well. if not, you certainly can get it to build with a tiny bit of 
Makefile magic.

cross-compile from linux (debian with mingw32* packages) is not much harder 
than native bompile. it has the additional problem that the gdal configure 
system is not really coss-compile-proof ;). (--without-pg is your friend)

search the mail archives you should find more info.

> I'm not even sure how to get started! ;-( 

as a start:
in the msys environment run "./configure" ;)

cheers,
alessandro



More information about the Gdal-dev mailing list