ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
Ok I found the answer. I explicitly added the vtk modules and libraries to CMakeList and it worked fine. I added the two following lines at the end
include_directories(/usr/include/vtk-5.8)
target_link_libraries(pcl_viz ${PCL_LIBRARIES} libvtkCommon.so libvtkFiltering.so libvtkRendering.so)
I would prefer that ros take care of these things as in the standalone PCL
2 | No.2 Revision |
Ok I found the answer. I explicitly added the vtk modules and libraries to CMakeList and it worked fine. I added the two following lines at the end
include_directories(/usr/include/vtk-5.8)
target_link_libraries(pcl_viz ${PCL_LIBRARIES} libvtkCommon.so libvtkFiltering.so libvtkRendering.so)
here pcl_viz is my executable
I would prefer that ros take care of these things as in the standalone PCL