[gdal-dev] Re: HDF5 library

LFas lucafasano at interfree.it
Sat Mar 7 07:34:02 EST 2009


Frank Warmerdam <warmerdam <at> pobox.com> writes:

> 
> LFas wrote:
> > Hi list,
> > I tried to create a dll only for hdf5 gdal files, i.e. 3 files in frmts/hdf5
> > which I modified.
> > I use MS Visual Studio 2008 and tried to do it with makfile.vc and obviously
> > included nmake.opt. Once I defined GDAL_ROOT, HDF5_DIR, SZIP_DIR, HDF5_LIB
> > as $(HDF5_DIR)\dll\hdf5dll.lib \  $(SZIP_DIR)\dll\szlibdll.lib , I done
> > nmake -f makefile.vc and it tells me the file "sys\types.h" cannot be found.
> > In fact it isn't present in hdf5 folder. Where I'm wrong?

> It might be
> possible for you to use it, but it might be better for you to review
> what you are using for HDF5 libraries and include files.
> 
> In fact, you could likely fairly easily use the HDF5 packages prepared
> for OSGeo4W.
> 
> I assume you are working to build an HDF5 plugin for GDAL?
> 
> Best regards,

Yes, obviously I'm building an HDF5 plugin for GDAL with modified sources.

As you suggested me, I've reviewed include files and they lacked in MSVC .h
files. So I added them and now all seems to work correctly.

Thanks
Best regards






More information about the gdal-dev mailing list