[vtk-developers] Error building VTK with VTK_USE_SYSTEM_HDF5=ON

Hahn, Steven E. hahnse at ornl.gov
Tue Jan 12 21:02:21 EST 2016


When building VTK with VTK_USE_SYSTEM_HDF5=ON, I get the following warning:

Disabling NETCDF4 support since HDF5_HL or HDF5_hdf5_hl is missing.

This recently became a problem since the ParaView CDIReader plugin adds the definition -DHAVE_NETCDF4 and when building ParaView v5.0.0 from source with VTK_USE_SYSTEM_HDF5=ON, one gets an undefined symbols error on OS X.

Neither CMake variables HDF5_HL_LIBRARY and HDF5_hdf5_hl_LIBRARY are defined, but (depending on the build type) HDF5_hdf5_hl_LIBRARY_DEBUG or HDF5_hdf5_hl_LIBRARY_RELEASE are and the library is included in HDF5_LIBRARIES. I created a merge request (https://gitlab.kitware.com/vtk/vtk/merge_requests/1078) adding these two variables to the if statement checking if the HDF5 HL library is installed.

Best,
Steven Hahn


More information about the vtk-developers mailing list