Changes between Version 8 and Version 9 of HDF
- Timestamp:
- Apr 21, 2009, 11:45:11 AM (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
HDF
v8 v9 46 46 The HDF4 libraries depend on [http://www.zlib.net/ libz] library. If you build HDF4 from sources, you most likely use libz library already installed in your system. Then, when you run GDAL ''./configure'' script using option ''--with-libz=internal'' requesting GDAL to use its internal version of [source:trunk/gdal/frmts/zlib libz], you may notice that HDF4 support is not enabled as you expected. This might signal a conflict between internal libz and the version installed in you system against which HDF libraries were linked. More detailed description of the problem and its symptoms can be found in summary of Ticket #1955. 47 47 48 = Building with HDF5 = 49 50 * download from: http://www.hdfgroup.org/HDF5/release/obtain5.html 51 52 == Building on Windows with MSVC == 53 54 If your HDF5 source directory does not have an /include directory in its root, then you must do the following: 55 56 * in nmake.opt add a pointer to the directory containing the headers, such as 57 {{{ 58 HDF5_INCLUDE = $(HDF5_DIR)\src 59 }}} 60 * modify the EXTRAFLAGS parameter in gdal\frmts\hdf\makefile.vc to include this new definition, such as: 61 {{{ 62 EXTRAFLAGS = -I$(HDF5_INCLUDE) -DWIN32 -D_HDF5USEDLL_ 63 }}} 64 65 You can test this by running gdal\frmts\hdf\makefile.vc 66 48 67 = Open Tickets = 49 68