[Gdal-dev] Building DLL's on Windows

Mateusz Loskot mateusz at loskot.net
Tue May 30 11:04:44 EDT 2006


Hi,

Ari Jolma wrote:
> Frank Warmerdam kirjoitti:
> 
>>My suggestion would be to use VC++ or MINGW to build your DLL.  Cygwin's
>>gcc includes funky dependencies on a cygwin DLL that *might* not play well
>>with non-cygwin components.
> 
> libral uses variable length macros, which is AFAIK not in VC++, so MINGW
> is the 2nd choice then. I looked at it and installed it but the docs did
> not look very good for developing DLL's. Is there somewhere a simple
> example (a Makefile or something) of creating a DLL with MinGW?

Have you tried to Google for "create dll with mingw"?
In first results you will find:
http://sig9.com/node/35
http://www.adp-gmbh.ch/win/misc/mingw/dll.html
http://www.mingw.org/MinGWiki/index.php/sample%20DLL

Cheers
-- 
Mateusz Loskot
http://mateusz.loskot.net



More information about the Gdal-dev mailing list