Resolving Dependencies failed on Gentoo Linux [closed]
Hi,
my operating system is Gentoo Linux.
I am following these to install ROS on my system: https://wiki.gentoo.org/wiki/ROS and http://wiki.ros.org/kinetic/Installat...
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/env.sh', '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/env.sh 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/env.sh make -j4 -l4
so I did run it. The output of this command can be found here: https://paste.pound-python.org/show/q...
What can I do to solve this problem?
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.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.
Have you tried recently? There's been some serious work on the overlay, and you might try with
emerge ros-kinetic/desktop_full
.