[gdal-dev] 1.4.4 Preliminary Win32 Binaries

Mateusz Loskot mateusz at loskot.net
Mon Nov 26 06:14:29 EST 2007


Ari Jolma wrote:
> [...]
> and running commands (these are MinGW tools)
> pexports gdal14.dll | perl def.pl > gdal14.def
> dlltool -U -d gdal14.def -l libgdal14.a
>
> and changing Makefile.PL to link to gdal14: "-lgdal14" I get to the
> point where g++  complains only about these:
>
> gdal_wrap.o:gdal_wrap.cpp:(.text+0xee1f): undefined reference to
> `GDALColorTable::GDALColorTable(GDALPaletteInterp)'
>
> i.e., about the parts in the bindings, which use the C++ API of GDAL.
> This is where I stop since I have no idea how to create aliases for
> them, which g++ would understand.

The .DEF file needs to include names in mangled form for specific compiler.


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


More information about the gdal-dev mailing list