Ask Your Question
0

CvBridge.h missing in Hydro armhf ?

asked 2014-05-17 21:31:23 -0500

hvn gravatar image

updated 2014-05-18 20:30:44 -0500

Hi,

I'm trying to rosmake a self-written node in Hydro on armhf, but it fails on a missing CvBridge.h. "roscd cv_bridge" takes me to /opt/ros/hydro/share/cv_bridge$ and "ls" shows cmake and package.xml. So where is the header file ?

Thanks,

  • building vision-opencv en cv-bridge bring the message that the stacks are not found and it assumes the new build system is being used. Also the catkin stack is not found, while ros-hydro-catkin is installed and newest version. So if Hydro indeed does support rosbuild, why is it asking for catkin?
edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2014-05-18 21:01:17 -0500

ahendrix gravatar image

You're also using the old CvBridge API, which has been deprecated for a long time, and which was removed starting in Groovy. See: https://github.com/ros-perception/vis...

With catkin, package headers are installed into /opt/ros/hydro/include/PACKAGE; you should be able to find the new cv_bridge headers there.

You can also list all of the files installed by a package with dpkg -L ros-hydro-cv-bridge

edit flag offensive delete link more

Comments

Ok, ty. I found I made a mistake in my code. I first had cv_bridge.h, then according to info I found, I had to use CvBridge.h. Changing back to cv_bridge, it compiles fine. From your info, I guess catkin is used next to rosbuild ?

hvn gravatar image hvn  ( 2014-05-18 22:22:57 -0500 )edit

cv_bridge (and all of Hydro) is built and released with catkin. You can use it from both catkin and rosbuild packages.

ahendrix gravatar image ahendrix  ( 2014-05-18 22:29:57 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2014-05-17 21:31:23 -0500

Seen: 257 times

Last updated: May 18 '14