Unable to build ViSP with PCL/VTK build from source, VTK headers are not found by ViSP
fspindle opened this issue · comments
This error was detected by CI ubuntu-dep-src.yml that aims to build VTK and PCL 3rd parties from source.
The build issue occurs when building visp_gui
module
[ 18%] Building CXX object modules/gui/CMakeFiles/visp_gui.dir/src/pointcloud/vpPclViewer.cpp.o
In file included from /home/runner/pcl/build/install/include/pcl-1.13/pcl/visualization/common/actor_map.h:40,
from /home/runner/pcl/build/install/include/pcl-1.13/pcl/visualization/pcl_visualizer.h:48,
from /home/runner/work/visp/visp/modules/gui/include/visp3/gui/vpPclViewer.h:49,
from /home/runner/work/visp/visp/modules/gui/src/pointcloud/vpPclViewer.cpp:43:
/home/runner/pcl/build/install/include/pcl-1.13/pcl/visualization/point_cloud_geometry_handlers.h:49:10: fatal error: vtkSmartPointer.h: No such file or directory
49 | #include <vtkSmartPointer.h>
| ^~~~~~~~~~~~~~~~~~
It shows that VTK headers are not found.