ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | Q&A
Ask Your Question

raspbian buster fails with cv_camera

asked 2020-03-22 09:48:51 -0600

lyakh gravatar image

Hello, I've one been able to install ROS on my Raspberry Pi, following . Now I decided to add cv_camera support to my installation. Attempts to run "rosinstall_generator cv_camera" with that installation were failing, so, I decided to upgrade the whole distribution. I installed a new version of Raspbian "buster" and followed the same HowTo to work around the problem with libboost. That means I've downgraded gcc and g++ to version 5. That allowed me to install a base ROS system. Then I added cv_camera to it but then build failed because a newer gcc version is required for that:

In file included from /usr/include/c++/5/array:35:0,
             from /usr/include/yaml-cpp/node/convert.h:10,
             from /usr/include/yaml-cpp/yaml.h:18,
             from /home/pi/ros/catkin_ws/src/image_common/camera_calibration_parsers/src/parse_yml.cpp:38:/usr/include/c++/5/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support must be enabled with the -std=c++11 or -std=gnu++11 compiler options.

Therefore my question: is there a better was by now to install ROS on Raspbian buster? Downgrading to gcc-5 does seem a bit crude IMHO...

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2020-04-06 13:37:07 -0600

lyakh gravatar image

I ended up fixing the problem by using the default libboost 67.0 and fixing rospack and related sources similar to

edit flag offensive delete link more

Your Answer

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

Add Answer

Question Tools


Asked: 2020-03-22 09:48:51 -0600

Seen: 109 times

Last updated: Apr 06 '20