Resolving Dependencies failed on Gentoo Linux [closed]

asked 2016-11-13 03:20:31 -0500

csanyipal gravatar image


my operating system is Gentoo Linux.

I am following these to install ROS on my system: and

At the step Resolving Dependencies I failed to finish it with command:

sudo PYTHONPATH="/opt/ros/kinetic/lib64/python2.7/site-packages" ./src/catkin/bin/catkin_make_isolated --install --install-space /opt/ros/kinetic -DSETUPTOOLS_DEB_LAYOUT=OFF

The messages of this error follows:

... home/pali/Irataim/CAD/RobotikaRosRviz/MunkaHely/ros_catkin_mh/src/robot_model/collada_parser/src/collada_parser.cpp:2437:38: error: request for member ‘find’ in ‘((urdf::ColladaModelReader)this)->urdf::ColladaModelReader::_model.boost::shared_ptr<t>::operator-><urdf::modelinterface>()->urdf::ModelInterface::joints_’, which is of non-class type ‘int’ pjoint = _model->joints_.find(name)->second; ^ CMakeFiles/collada_parser.dir/build.make:62: recipe for target 'CMakeFiles/collada_parser.dir/src/collada_parser.cpp.o' failed make[2]: [CMakeFiles/collada_parser.dir/src/collada_parser.cpp.o] Error 1 CMakeFiles/Makefile2:675: recipe for target 'CMakeFiles/collada_parser.dir/all' failed make[1]: [CMakeFiles/collada_parser.dir/all] Error 2 Makefile:138: recipe for target 'all' failed make: ** [all] Error 2 <== Failed to process package 'collada_parser': Command '['/opt/ros/kinetic/', 'make', '-j4', '-l4']' returned non-zero exit status 2

Reproduce this error by running: ==> cd /home/pali/Irataim/CAD/RobotikaRosRviz/MunkaHely/ros_catkin_mh/build_isolated/collada_parser && /opt/ros/kinetic/ make -j4 -l4

Command failed, exiting.

At the and of error messages there is a last message:

Reproduce this error by running: ==> cd /home/pali/Irataim/CAD/RobotikaRosRviz/MunkaHely/ros_catkin_mh/build_isolated/collada_parser && /opt/ros/kinetic/ make -j4 -l4

so I did run it. The output of this command can be found here:

What can I do to solve this problem?

edit retag flag offensive reopen merge delete

Closed for the following reason question is not relevant or outdated by tfoote
close date 2018-04-29 22:09:36.706464


This looks like you're trying to build C++11-enabled code on a platform (or with a compiler) that doesn't support it (‘to_string’ is not a member of ‘std’ fi). Not sure how to handle this wrt the rest of your build setup, but I'd look into that.

gvdhoorn gravatar image gvdhoorn  ( 2016-11-13 04:12:32 -0500 )edit

I do not know which compiler is used in this command? If I get the name of this compiler, I can on Gentoo Linux see whether I can to support C++11 by using the so called USE Flags.

csanyipal gravatar image csanyipal  ( 2016-11-13 04:46:55 -0500 )edit

Have you tried recently? There's been some serious work on the overlay, and you might try with emerge ros-kinetic/desktop_full.

allenh1 gravatar image allenh1  ( 2017-07-12 12:33:18 -0500 )edit