raspbian buster fails with cv_camera

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

lyakh gravatar image

Hello, I've one been able to install ROS on my Raspberry Pi, following http://wiki.ros.org/ROSberryPi/Instal... . 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