qboticslabs / mastering_ros

This repository contains exercise files of the book "Mastering ROS for Robotics Programming"
https://www.packtpub.com/hardware-and-creative/mastering-ros-robotics-programming
468 stars 282 forks source link

Fix for catkin_make #33

Closed gkatom closed 6 years ago

gkatom commented 6 years ago

The catkin package is unable to build the file with the CMakeLists.txt that is shown in your repository for the package 'cv_bridge_tutorial_pkg'. The error is various undefined references. This was fixed by adding this line to the CMakeLists.txt : find_package(OpenCV REQUIRED) or find_package(OpenCV 3.0 REQUIRED)