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 MSVC.  Plugins use the C++ API and are
generally not going to be compatible between compilers.  At this time
I believe you just have to use a similar compiler to build plugins as
was used to build the core GDAL library.

The offer to improve MinGW/MSVC mixing only applies to the GDAL/OGR C API
(not the C++ API) and is mainly aimed at making it possible to build
applications against the GDAL/OGR C API using MinGW when GDAL is built with
MSVC.

Best regards,
--
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up   | Frank Warmerdam, warmer...@pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | Geospatial Programmer for Rent

_______________________________________________
gdal-dev mailing list
gdal-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to