This is an old revision of the document!


Building HDF4 and HDF5

TBD

There are binaries available, and they're probably fine, but the headers are not, because HDF5 installs different headers depending on which compiler it was built with (which in itself is a bug). Luckily, building HDF5 from source is fairly easy.

First, get the latest source from http://www.hdfgroup.org/HDF5/release/obtain5.html and extract it in a convenient place. Next, run configure, and make sure to enable C++ support:

$ ./configure --prefix=/opt/hdf5 --enable-cxx

Revisit later in re thread safety

Finally, build and install:

$ make install
This website uses cookies. By using the website, you agree with storing cookies on your computer. Also you acknowledge that you have read and understand our Privacy Policy. If you do not agree leave the website.More information about cookies
  • diana/windows/building/hdf.1258047034.txt.gz
  • Last modified: 2022-05-31 09:23:14
  • (external edit)