ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
Besides ${OpenCV_LIBRARIES} you need to link your exec against ${catkin_LIBRARIES}:
target_link_libraries(image_converter ${OpenCV_LIBRARIES} ${catkin_LIBRARIES} )
2 | No.2 Revision |
Besides ${OpenCV_LIBRARIES} you need to link your exec against ${catkin_LIBRARIES}:
target_link_libraries(image_converter ${OpenCV_LIBRARIES} ${catkin_LIBRARIES} )
Note that you need to call
find_package(catkin REQUIRED COMPONENTS genmsg cv_bridge image_transport roscpp std_msgs )
before target_link_libraries