Quantcast
Channel: ROS Answers: Open Source Q&A Forum - RSS feed
Viewing all articles
Browse latest Browse all 2203

ROS Indigo Install on RPI3 - URDF Compile Errors

$
0
0
I'm installing ROS Indigo on RPI 3 running Wheezy using the desktop version and following this wiki page: http://wiki.ros.org/ROSberryPi/Installing%20ROS%20Indigo%20on%20Raspberry%20Pi I get as far as compiling URDF from source and I get a bunch of compile-time errors and many more not shown. pi@raspberrypi ~/ros_install_ws $ cd /home/pi/ros_install_ws/build_isolated/urdf && /opt/ros/indigo/env.sh make -j4 -l4 [100%] Building CXX object CMakeFiles/urdf.dir/src/model.cpp.o In file included from /usr/local/include/urdf_model/joint.h:43:0, from /usr/local/include/urdf_model/link.h:44, from /usr/local/include/urdf_model/model.h:42, from /home/pi/ros_install_ws/src/robot_model/urdf/include/urdf/model.h:42, from /home/pi/ros_install_ws/src/robot_model/urdf/src/model.cpp:37: /usr/local/include/urdf_model/pose.h: In member function 'void urdf::Vector3::init(const string&)': /usr/local/include/urdf_model/pose.h:78:25: error: 'stod' is not a member of 'std' In file included from /usr/local/include/urdf_model/joint.h:43:0, from /usr/local/include/urdf_model/link.h:44, from /usr/local/include/urdf_model/model.h:42, from /home/pi/ros_install_ws/src/robot_model/urdf/include/urdf/model.h:42, from /home/pi/ros_install_ws/src/robot_model/urdf/src/model.cpp:37: /usr/local/include/urdf_model/pose.h:90:42: error: 'to_string' is not a member of 'std' In file included from /usr/local/include/urdf_model/joint.h:44:0, from /usr/local/include/urdf_model/link.h:44, from /usr/local/include/urdf_model/model.h:42, from /home/pi/ros_install_ws/src/robot_model/urdf/include/urdf/model.h:42, from /home/pi/ros_install_ws/src/robot_model/urdf/src/model.cpp:37: /usr/local/include/urdf_model/types.h: At global scope: /usr/local/include/urdf_model/types.h:51:9: error: 'shared_ptr' in namespace 'std' does not name a type /usr/local/include/urdf_model/types.h:53:1: error: 'shared_ptr' in namespace 'std' does not name a type /usr/local/include/urdf_model/types.h:53:1: error: 'shared_ptr' in namespace 'std' does not name a type /usr/local/include/urdf_model/types.h:53:1: error: 'weak_ptr' in namespace 'std' does not name a type /usr/local/include/urdf_model/types.h:54:1: error: 'shared_ptr' in namespace 'std' does not name a type /usr/local/include/urdf_model/types.h:54:1: error: 'shared_ptr' in namespace 'std' does not name a type /usr/local/include/urdf_model/types.h:54:1: error: 'weak_ptr' in namespace 'std' does not name a type /usr/local/include/urdf_model/types.h:55:1: error: 'shared_ptr' in namespace 'std' does not name a type /usr/local/include/urdf_model/types.h:55:1: error: 'shared_ptr' in namespace 'std' does not name a type I have liburdfdom-dev and liburdfdom-headers-dev installed via compiled source as per the wiki page and confirmed (with dpkg). Something appears to be missing here as this just isn't right... UPDATE: I've added: set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11") Which now results in a single error of: /home/pi/ros_install_ws/src/robot_model/urdf/src/model.cpp:174:33: error: no match for 'operator=' in 'model = urdf::parseURDF(const string&)()' - Tim

Viewing all articles
Browse latest Browse all 2203


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>