Building cv_bridge under Indigo / Debian Wheezy

asked 2015-04-19 09:03:50 -0600

filson gravatar image

I've hit this group of errors when building the catkin workspace of Indigo on Debian Wheezy according to http://wiki.ros.org/indigo/Installati... (section 2.3)

The rosinstall_generator string used is this:

rosinstall_generator desktop --rosdistro indigo --deps --wet-only --exclude roslisp collada_parser collada_urdf --tar > indigo-desktop-wet.rosinstall
since collada wont build in the virtualbox.
make -j4 -l4 in '/home/b/ros_catkin_ws/build_isolated/cv_bridge'
Scanning dependencies of target cv_bridge
[ 33%] Building CXX object src/CMakeFiles/cv_bridge.dir/cv_bridge.cpp.o
/home/b/ros_catkin_ws/src/vision_opencv/cv_bridge/src/cv_bridge.cpp: In function ‘std::map<std::pair<cv_bridge::format, cv_bridge::format="">, std::vector<int> > cv_bridge::getConversionCodes()’:
/home/b/ros_catkin_ws/src/vision_opencv/cv_bridge/src/cv_bridge.cpp:207:47: error: ‘CV_YUV2GRAY_UYVY’ was not declared in this scope
/home/b/ros_catkin_ws/src/vision_opencv/cv_bridge/src/cv_bridge.cpp:208:46: error: ‘CV_YUV2RGB_UYVY’ was not declared in this scope
/home/b/ros_catkin_ws/src/vision_opencv/cv_bridge/src/cv_bridge.cpp:209:46: error: ‘CV_YUV2BGR_UYVY’ was not declared in this scope
/home/b/ros_catkin_ws/src/vision_opencv/cv_bridge/src/cv_bridge.cpp:210:47: error: ‘CV_YUV2RGBA_UYVY’ was not declared in this scope
/home/b/ros_catkin_ws/src/vision_opencv/cv_bridge/src/cv_bridge.cpp:211:47: error: ‘CV_YUV2BGRA_UYVY’ was not declared in this scope
make[2]: *** [src/CMakeFiles/cv_bridge.dir/cv_bridge.cpp.o] Error 1
make[1]: *** [src/CMakeFiles/cv_bridge.dir/all] Error 2
make: *** [all] Error 2
<== Failed to process package 'cv_bridge': 
  Command '/opt/ros/indigo/env.sh make -j4 -l4' returned non-zero exit status 2

Reproduce this error by running:
==> cd /home/b/ros_catkin_ws/build_isolated/cv_bridge && /opt/ros/indigo/env.sh make -j4 -l4

Command failed, exiting.

Any suggestions on how to proceed with the installation?

Best regards,

edit retag flag offensive close merge delete