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

Revision history [back]

  • You have to declare opencv2 as an external dependency in your CMakeLists.txt. Similar to eigen and opencv in this example: http://wiki.ros.org/catkin/CMakeLists.txt#catkin_package.28.29
  • You will have to add opencv2 also to the target_link_libraries (in CMakeLists.txt)

Hope this helps