mirror of
https://github.com/Unidata/netcdf-c.git
synced 2025-02-17 16:50:18 +08:00
Fix 'Building with HDF4 Support' document
This commit is contained in:
parent
4070bcf946
commit
07154a6693
@ -188,10 +188,16 @@ done!
|
||||
\page build_hdf4 Building with HDF4 Support
|
||||
|
||||
The netCDF-4 library can (since version 4.1) read HDF4 data files, if
|
||||
they were created with the SD (Scientific Data) API. To enable this
|
||||
feature, use the --enable-hdf4 option. The location for the HDF4
|
||||
header files and library must be set in the CPPFLAGS and LDFLAGS
|
||||
options.
|
||||
they were created with the SD (Scientific Data) API.
|
||||
|
||||
For this to work, you must build the HDF4 library with the
|
||||
configure option "--disable-netcdf" to prevent it from building an
|
||||
HDF4 version of the netCDF-2 library that conflicts with the
|
||||
netCDF-2 functions built into the Unidata netCDF library.
|
||||
|
||||
Then, when building netCDF-4, use the "--enable-hdf4" option to
|
||||
configure. The location for the HDF4 header files and library must be
|
||||
set in the CPPFLAGS and LDFLAGS options.
|
||||
|
||||
For HDF4 access to work, the library must be build with netCDF-4
|
||||
features.
|
||||
|
Loading…
Reference in New Issue
Block a user