Ask Your Question

Revision history [back]

OpenCV is no longer treated specially inside of ROS and is simply a standalone library. You should be able to link your executable against it by adding something like:

find_package(OpenCV REQUIRED)
target_link_libraries(my_application_target ${OpenCV_LIBS})

There's some more migration information on the Fuerte opencv2 wiki page.

OpenCV is no longer treated specially inside of ROS and is simply a standalone library. You should be able to link your executable against it by adding something like:like the following to your CMakeLists.txt:

find_package(OpenCV REQUIRED)
target_link_libraries(my_application_target ${OpenCV_LIBS})

There's some more migration information on the Fuerte opencv2 wiki page.