Follwoing this old mailing list thread I have tried to create dockerfiles (DF) for the creation of docker images that compile ITK with vtk from paraview for VTKGlue that I need for a PV plugin (ShapeMI demo). The DF for PV-5.2.0 works well (https://gitlab.com/romangrothausmann/FacetAnalyser/blob/pv-5.2.0/Dockerfile) but when I change to PV-5.3.0 or PV-5.4.0 cmake for ITK complains of not finding ParaViewQt.cmake. However I can find it at:
/opt/paraview/lib/cmake/paraview-5.3/ParaViewQt.cmake
/paraview/CMake/ParaViewQt.cmake
What would be the right set of CMAKE_MODULE_PATH
and VTK_DIR
to satisfy cmake for newer PV?
This is part of the message from cmake GL CI:
CMake Error at /PV_build/lib/cmake/paraview-5.3/Modules/pqApplicationComponents.cmake:10 (include):
include could not find load file:
/ParaViewQt.cmake
Call Stack (most recent call first):
/paraview/VTK/CMake/vtkModuleAPI.cmake:45 (include)
/paraview/VTK/CMake/vtkModuleAPI.cmake:15 (vtk_module_load)
/paraview/VTK/CMake/vtkModuleAPI.cmake:132 (_vtk_module_config_recurse)
/PV_build/VTK/VTKConfig.cmake:122 (vtk_module_config)
Modules/Bridge/VtkGlue/itk-module-init.cmake:9 (find_package)
CMake/ITKModuleEnablement.cmake:318 (include)
CMakeLists.txt:337 (include)