Page tree

The license could not be verified: License Certificate has expired!

Versions Compared


  • This line was added.
  • This line was removed.
  • Formatting was changed.


The is created in the CMake-hdf5-1.N.N directory when HDF5 is built on Windows 64-bit. Uncompress the file. It contains a directory with cmake files in cmake\hdf5. Set the HDF5_DIR environment variable to the location of this directory.


Change the script (optional)

You NOTE that you can change the script to include the HDF5_DIR environment variable. For example add this after line 3 in the script:

set ( ENV {HDF5_DIR} c:/Program Files/HDF_Group/1.10.5/cmake/hdf5/ )

Also note that if you have multiple versions of HDF5 on your machine, then you must specify the HDF5 version with in the find_package call:

find_package (HDF5 1.10.5 NAMES "hdf5" COMPONENTS ${FIND_HDF_COMPONENTS})