Skip to content
tom-albrecht edited this page Jan 6, 2015 · 20 revisions

Compiling on Windows

Statismo uses the HDF5 library to store statistical shape models. Unfortunately, there is a bug in CMake's module to find HDF5 on Windows.

The Statismo Superbuild contains a workaround for this bug, explicitly setting the correct HDF5 version in all components (ITK, VTK, HDF5, statismo).

This workaround is not guaranteed to work if statismo is compiled without the superbuild or any of the variables

USE_SYSTEM_ITK

USE_SYSTEM_VTK

USE_SYSTEM_HDF5

are set to on.

In this case, it is the user's responsibility to make sure the same (or compatible) HDF5 versions are used throughout and found by all components.