ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
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})