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

Revision history [back]

click to hide/show revision 1
initial version

Looks like it is failing to find the libraries when linking. Examination of the wiki entry for the vision_opencv package shows that you also need to add the variable "${OpenCV_LIBRARIES}" to the target_link_libraries entry.

A little experimentation seems to show that changing your link command to the following fixes your problem:

target_link_libraries(listener ${catkin_LIBRARIES} ${OpenCV_LIBRARIES})