Hello,
I am trying to build SimpleITK ( branch master ) with a system version of HDF5 ( v1.10.5 )
I cloned ITK ( on branch master ), and successfully built it while linking to the system HDF5.
When I try to configure/generate SimpleITK with the system ITK and system HDF5, I get the following error:
CMake Error at Code/IO/src/CMakeLists.txt:21 (add_library):
Target "SimpleITKIO" links to target "hdf5::hdf5_cpp" but the target was
not found. Perhaps a find_package() call is missing for an IMPORTED
target, or an ALIAS target is missing?
CMake Error at Code/IO/src/CMakeLists.txt:21 (add_library):
Target "SimpleITKIO" links to target "hdf5::hdf5" but the target was not
found. Perhaps a find_package() call is missing for an IMPORTED target, or
an ALIAS target is missing?
I have used RelWithDebInfo symbols for HDF5, ITK, and SimpleITK in case that makes a difference.
I am running Centos7 , with gcc 7.3.1
I’ve searched for a few days now, and am unable to get past this. Any help is greatly appreciated.