hdf images hdf images

This web site is no longer maintained (but will remain online).
Please see The HDF Group's new Support Portal for the latest information.

Building HDF5-1.8 With CMake

A CTest script and platform configuration file can be used to simplify building with CMake. The following instructions are provided for this purpose.

If you need to build with more complex options, you may prefer to follow the instructions in the release_docs/ directory of the HDF5 source code.


Preconditions:


Build Instructions

Please follow the instructions below for building.


Compiling an Application

Please see the framework for building applications that is provided on the HDF5-1.10 CMake build page.

For building these or other applications, please refer to the instructions in the release_docs/ directory of the HDF5 source code:

In general, users must first set the HDF5_DIR environment variable to the installed location of the CMake configuration files for HDF5. For example, on Windows the following path might be set:

   HDF5_DIR=C:/Program Files/HDF_Group/HDF5/1.8.x/cmake

Look at find_package provided with the HDF5 examples for how to compile an application. Please be aware that FindHDF5.cmake is not provided by and cannot be fixed by The HDF Group.


Troubleshooting


- - Last modified: 29 November 2017