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

Problem with catkin_make

asked 2017-05-15 18:43:23 -0500

yhindy gravatar image

I have had trouble with the cv_bridge. When I try to make my catkin_ws, I get the following error:

CMake Error at /opt/ros/kinetic/share/cv_bridge/cmake/cv_bridgeConfig.cmake:106 (message): Project 'cv_bridge' specifies '/opt/ros/kinetic/include/opencv-3.2.0-dev' as an include dir, which is not found. It does neither exist as an absolute directory nor in '/opt/ros/kinetic//opt/ros/kinetic/include/opencv-3.2.0-dev'. Ask the maintainer 'Vincent Rabaud <vincent.rabaud@gmail.com>' to fix it. Call Stack (most recent call first): /opt/ros/kinetic/share/catkin/cmake/catkinConfig.cmake:76 (find_package) apriltags_ros/apriltags_ros/CMakeLists.txt:7 (find_package)

When I navigate to /opt/ros/kinetic/include, i find that there is an opencv-3.1.0-dev, but not 3.2. How do I upgrade?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
3

answered 2017-05-15 19:24:32 -0500

Geoff gravatar image

Use your system's package manager to update ROS. e.g. For Ubuntu, see here.

edit flag offensive delete link more

Comments

1

Also, if you had a build space, you should delete it as it still refers to OpenCV 3.1 and it got bumped to 3.2. yes, my fault ... The version was so close to 3.2 with the patches that I bumped the version number, which should not release in a ROS release ...

Vincent Rabaud gravatar image Vincent Rabaud  ( 2017-05-16 13:10:39 -0500 )edit

Thank you Geoff! I got it to work.

yhindy gravatar image yhindy  ( 2017-05-16 16:12:57 -0500 )edit

Hi, I am having the same issue, can you please tell step by step how to resolve this issue

balajithevoyager gravatar image balajithevoyager  ( 2017-08-11 18:49:48 -0500 )edit
1

For how to use the package manager to update your system, see the page linked in the answer. For deleting your build space after doing that update, go to your workspace and delete the build directory.

Geoff gravatar image Geoff  ( 2017-08-15 20:06:29 -0500 )edit

I had the same problem and it worked. Thanks!

ravit gravatar image ravit  ( 2018-03-04 05:40:33 -0500 )edit

Question Tools

2 followers

Stats

Asked: 2017-05-15 18:42:31 -0500

Seen: 1,980 times

Last updated: May 15 '17