Skip to content
H. Joe Lee edited this page Jun 13, 2023 · 9 revisions

Install HDF5 from GitHub Repository

Do not turn off HDF5_GENERATE_HEADERS and HDF5_ENABLE_DEPRECATED_SYMBOLS.

Windows

  1. Install Perl.
  2. Install CMake.
  3. Install Visual Studio C++.

Get source code

  1. git clone https://github.com/hyoklee/hdf5.git
  2. cd hdf5

Configure

  1. mkdir build
  2. cd build
  3. cmake ..

Build, Test, and Install

  1. cmake --build . --config Release
  2. ctest -C Release -VV
  3. cmake -DCMAKE_INSTALL_PREFIX=/usr -P cmake_install.cmake
Clone this wiki locally