[gdal-dev] Re: Link GDAL with MinGW

2009-02-26 Thread LF
Ari Jolma ari.jolma at tkk.fi writes: MinGW gcc generates .dll.a files, which are the link libraries, but it can also use the plain dll to link against. However, when you mention gdal16.dll, it sounds like you're trying to link against a GDAL dll that was generated with VC. The C++ API

Re: [gdal-dev] Re: Link GDAL with MinGW

2009-02-26 Thread Ari Jolma
LF kirjoitti: Ari Jolma ari.jolma at tkk.fi writes: MinGW gcc generates .dll.a files, which are the link libraries, but it can also use the plain dll to link against. However, when you mention gdal16.dll, it sounds like you're trying to link against a GDAL dll that was generated with VC.

[gdal-dev] Re: Link GDAL with MinGW

2009-02-26 Thread LF
Frank Warmerdam warmerdam at pobox.com writes: Ari Jolma wrote: oops, I believe it is not correct to say Swig bindings use some C++ API, but it is nevertheless sometimes hard/not possible to mix VC and MinGW when developing for Windows Folks, I am interested in making use of the

Re: [gdal-dev] Re: Link GDAL with MinGW

2009-02-26 Thread Frank Warmerdam
LF wrote: First of all, thanks to your fast answers. Then, I report following my makefile. GDAL_ROOT=C:\gdalwin32-1.6_bin\ LD_SHARED=g++ -shared OBJ=hdf5dataset.o hdf5imagedataset.o Luca, I get the impression you are trying to build the HDF5 plugin with MinGW for use with a GDAL built with