ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
It's because your gcc is not new enough. You either have to fix some compiler flags, install a newer version of gcc, or use Ubuntu Mate which comes with a (new enough) gcc 5.4.
I actually share my experience building ORB-SLAM2 on Pi 3 here. I am not sure how relevant ORB-SLAM2 is to ORB-SLAM the original, but I suppose they should not be too different. And I did not use ROS. If you stick with ORB-SLAM and/or Raspbian Jessie and/or ROS, then you will have to adapt. I hope my sharing will help lead you in the right direction, even though it may not be totally applicable.