[gdal-dev] Fwd: configuring gdal to support hdf
Mateusz Loskot
mateusz at loskot.net
Sun Jun 21 13:09:22 EDT 2009
Benjamin Welton wrote:
> When doing ./configure are you adding the proper flag for the hdf
> version you plan to use (--with-hdf4 and --with-hdf5)?
Yes, as you can see in ./configure template, you can use these
options to pass base location (so called prefix) of HDF libraries
(binaries and headers):
http://trac.osgeo.org/gdal/browser/trunk/gdal/configure.in?rev=17161#L1053
> Also have you tried setting the locations of the library's by doing
> --with-hdf4=<library location>?
As you can see in the ./configure usage message, you can pass locations
as value of --with-hdfX options.
$ ./configure --help | grep -i hdf
--with-hdf4=ARG Include HDF4 support (ARG=path)
--with-hdf5=ARG Include HDF5 support (ARG=path)
Don't forget to check this Wiki:
http://trac.osgeo.org/gdal/wiki/HDF
Best regards,
--
Mateusz Loskot, http://mateusz.loskot.net
Charter Member of OSGeo, http://osgeo.org
More information about the gdal-dev
mailing list