ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

ROS installation on intel edison

asked 2017-03-19 12:56:16 -0600

Mrutyunjay gravatar image

I am getting following error while installing ROS on intel edison with UbiLinux. Following these steps for installation http://wiki.ros.org/wiki/edison

/home/edison/ros_catkin_ws/src/ros_comm/roscpp/src/libros/callback_queue.cpp:380:43: error: macro "BOOST_SCOPE_EXIT" passed 2 arguments, but takes just 1
/home/edison/ros_catkin_ws/src/ros_comm/roscpp/src/libros/callback_queue.cpp: In member function ‘ros::CallbackQueue::CallOneResult ros::CallbackQueue::callOneCB(ros::CallbackQueue::TLS*)’:
/home/edison/ros_catkin_ws/src/ros_`enter code here`comm/roscpp/src/libros/callback_queue.cpp:380:7: error: ‘BOOST_SCOPE_EXIT’ was not declared in this scope
/home/edison/ros_catkin_ws/src/ros_comm/roscpp/src/libros/callback_queue.cpp:381:7: error: expected ‘;’ before ‘{’ token
/home/edison/ros_catkin_ws/src/ros_comm/roscpp/src/libros/callback_queue.cpp:384:7: error: ‘struct boost::scope_exit::aux::undeclared’ has no member named ‘value’
/home/edison/ros_catkin_ws/src/ros_comm/roscpp/src/libros/callback_queue.cpp:384:7: error: ‘boost_se_guard_384’ was not declared in this scope
/home/edison/ros_catkin_ws/src/ros_comm/roscpp/src/libros/callback_queue.cpp:398:9: error: ‘result’ was not declared in this scope
/home/edison/ros_catkin_ws/src/ros_comm/roscpp/src/libros/callback_queue.cpp: At global scope:

    /home/edison/ros_catkin_ws/src/ros_comm/roscpp/src/libros/callback_queue.cpp:408:3: error: expected unqualified-id before ‘else’
    /home/edison/ros_catkin_ws/src/ros_comm/roscpp/src/libros/callback_queue.cpp:413:3: error: expected unqualified-id before ‘return’
    /home/edison/ros_catkin_ws/src/ros_comm/roscpp/src/libros/callback_queue.cpp:416:1: error: expected declaration before ‘}’ token
    make[2]: *** [CMakeFiles/roscpp.dir/src/libros/callback_queue.cpp.o] Error 1
    make[2]: *** Waiting for unfinished jobs....
    make[1]: *** [CMakeFiles/roscpp.dir/all] Error 2
    make: *** [all] Error 2
    root@ubilinux:/home/edison/ros_catkin_ws/build_isolated/roscpp#
edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted
0

answered 2017-03-31 09:32:30 -0600

emef gravatar image

updated 2017-03-31 17:42:45 -0600

edit: I've been working through this on my beaglebone board throughout the day and actually couldn't push this all the way through. I'm going to leave my earlier reply in case it's helpful to someone, but it was easier for me to just upgrade my distro to jessie and just install kinetic...


I believe the problem here is that the ros install depends on c++11 features which are not available on your device. I solved this exact problem (on a beagleebone running wheezy) by adding this flag to the build command:

--cmake-args -DCMAKE_CXX_FLAGS=--std=c++0x

I also needed to upgrade my boost library to 1.53 to get the entire install to complete. See http://yplam.com/ros/2017/03/19/ediso... as well

edit flag offensive delete link more

Comments

Do you mean boost 1.53 ?

ahendrix gravatar image ahendrix  ( 2017-03-31 13:52:36 -0600 )edit

yep, fixed

emef gravatar image emef  ( 2017-03-31 15:00:37 -0600 )edit

What was the build command that you added this flag to?

dlheard gravatar image dlheard  ( 2017-03-31 15:02:55 -0600 )edit

./src/catkin/bin/catkin_make_isolated --install -DCMAKE_BUILD_TYPE=Release --install-space /opt/ros/indigo

emef gravatar image emef  ( 2017-03-31 15:30:30 -0600 )edit

Question Tools

1 follower

Stats

Asked: 2017-03-19 12:56:16 -0600

Seen: 485 times

Last updated: Mar 31 '17