ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

I just found a solution. I added the following lines to CMakeList.txt

link_directories (/home/grega/ros_workspace/perception_pcl_electric_unstable/pcl/lib) rosbuild_add_library(Detector src/preprocessing_tracking.cpp) include_directories(/home/grega/ros_workspace/perception_pcl_electric_unstable/pcl/include) target_link_libraries(Detector pcl_tracking)

Now it builds successfully.