Opened 16 years ago
Closed 16 years ago
#2297 closed defect (fixed)
gdal does not compile against hdf5-1.8.0 with mixed API
Reported by: | vincentschut | Owned by: | warmerdam |
---|---|---|---|
Priority: | normal | Milestone: | 1.5.3 |
Component: | GDAL_Raster | Version: | 1.5.1 |
Severity: | normal | Keywords: | HDF5 |
Cc: |
Description
hdf5 from 1.8.x onwards has a new API for some function calls. However, usually (depends on compile flag) the older functions are still available by appending '1' after the function name (see http://www.hdfgroup.uiuc.edu/HDF5/doc_1.8pre/doc/RM/APICompatMacros.html). I don't know for other linux distro's, but for arch linux this is the case.
Attached is a diff which can be applied to fix the issue. With the patch applied, gdal compiles cleanly against my hdf5-1.8.0-3 (arch linux)
Attachments (1)
Change History (3)
by , 16 years ago
Attachment: | gdal-hdf5-1.8-api.diff added |
---|
comment:1 by , 16 years ago
comment:2 by , 16 years ago
Component: | default → GDAL_Raster |
---|---|
Keywords: | HDF5 added |
Milestone: | → 1.5.3 |
Resolution: | → fixed |
Status: | new → closed |
Version: | unspecified → 1.5.1 |
Note:
See TracTickets
for help on using tickets.
I tried to download the HDF5 1.8 source, but it seems there is a client limit on the hdf5 download server so I can't. Would anyone happen to have the source package somewhere else I could download it?