ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
Presumably there is more in your CMakeLists, in particular you have a line like:
add_executable(foo foo.cpp)
What you are probably missing is:
target_link_libraries(foo ${catkin_LIBRARIES}
${OpenCV_LIBRARIES})
to actually link against the OpenCV libraries.