At compilation time, it does find vtk_hdf5.h, but it fails on finding H5pubconf.h which is located in my $INSTALL_PATH/include/paraview-5.6/vtkhdf5
/local/apps/ParaView/dev/include/paraview-5.6/vtkhdf5/src/H5public.h:29:10: fatal error: H5pubconf.h: No such file or directory #include “H5pubconf.h” /*from configure
I can fix the error by forcing it to look in the right place, but I thought it ought to just work magically. I also have to add the path to vtkhdf5/src. Here is what I use:
No. I do not give any link instructions. Cmake correctly pulls in the
/local/apps/ParaView/dev/lib/libvtkhdf5-pv5.6.so.5.6 /local/apps/ParaView/dev/lib/libvtkhdf5_hl-pv5.6.so.5.6 to link with. But the error comes earlier during the compilation, not the linking.
I only specify
PRIVATE_DEPENDS
VTK::hdf5
and I thought that what used to be the ${vtkhdf5_LIBRARIES} and ${vtkhdf5_INCLUDE_DIRS} would be pulled in auto-magically. (I’ll admit I still feel lost in the new module stuff)
@ben.boeckel I have made a skeleton of my plugin which can be used to test. It can [partially] read the Test1.h5 file from the ParaView test infrastructure. (ExternalData/Testing/Data/Test1.h5)