8000 collada_parser build failure on debian jessie · Issue #166 · ros/robot_model · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
This repository has been archived by the owner on Aug 3, 2020. It is now read-only.

collada_parser build failure on debian jessie #166

Closed
jabberwox opened this issue Nov 10, 2016 · 5 comments
Closed

collada_parser build failure on debian jessie #166

jabberwox opened this issue Nov 10, 2016 · 5 comments
Labels

Comments

@jabberwox
Copy link

Collada_parser failed building on my raspberry pi 3 (debian jessie). I ran into the following error:

....
/home/pi/ros_catkin_ws/src/robot_model/collada_parser/src/collada_parser.cpp:2434:59: error: request for member ‘end’ in ‘((urdf::ColladaModelReader*)this)->urdf::ColladaModelReader::_model.boost::shared_ptr<T>::operator-><urdf::ModelInterface>()->urdf::ModelInterface::joints_’, which is of non-class type ‘int’
         if (_model->joints_.find(name) == _model->joints_.end()) {
                                                           ^
/home/pi/ros_catkin_ws/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:54: 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:91: recipe for target 'CMakeFiles/collada_parser.dir/all' failed
make[1]: *** [CMakeFiles/collada_parser.dir/all] Error 2
Makefile:127: recipe for target 'all' failed
make: *** [all] Error 2
<== Failed to process package 'collada_parser': 
  Command '['/opt/ros/ind
8000
igo/env.sh', 'make', '-j1']' returned non-zero exit status 2

Reproduce this error by running:
==> cd /home/pi/ros_catkin_ws/build_isolated/collada_parser && /opt/ros/indigo/env.sh make -j1

Re-running the make command gives:

[ 50%] Building CXX object CMakeFiles/collada_parser.dir/src/collada_parser.cpp.o
CMakeFiles/collada_parser.dir/build.make:54: recipe for target 'CMakeFiles/collada_parser.dir/src/collada_parser.cpp.o' failed
CMakeFiles/Makefile2:91: recipe for target 'CMakeFiles/collada_parser.dir/all' failed
Makefile:127: recipe for target 'all' failed

I raised the question the issue also here.

@wjwwood wjwwood added the bug label Nov 10, 2016
@wjwwood
Copy link
Member
wjwwood commented Nov 10, 2016

Can you post the ROS version you're using and/or the version of robot_model? Looks like the Kinetic Debian Jessie job for armv8 is passing:

http://build.ros.org/view/Kbin_djv8_dJv8/job/Kbin_djv8_dJv8__collada_parser__debian_jessie_arm64__binary/

The architecture might be slightly different from what the rpi3 has, but it should have similar dependencies.

@nickxiang0306
Copy link

I got the same problem. I am using rosdisto: indigo, rosversion: 1.11.20. And the version of robot_model is indigo-devel.

@JeremyBYU
Copy link
JeremyBYU commented Feb 12, 2017

Same issue. Following WIKI on building ROS on indigo for RPI3. I'm not sure the issue is specific to robot_model.

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_catkin_ws/src/robot_model/collada_parser/include/collada_parser/collada_parser.h:44,
                 from /home/pi/ros_catkin_ws/src/robot_model/collada_parser/src/collada_parser.cpp:58:
/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’
           xyz.push_back(std::stod(pieces[i]));

I googled that error and its seems that std:stod is only available for c++11.

@sloretz
Copy link
Contributor
sloretz commented Feb 14, 2017

@JeremyBYU the c++11 issue should have been fixed by #181. Would you mind trying again with the latest code on kinetic-devel?

@sloretz
Copy link
Contributor
sloretz commented May 11, 2017

Thanks for the issue! collada_parser has been moved to a new repository. I've copied the issue to ros/collada_urdf#7

@sloretz sloretz closed this as completed May 11, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

5 participants
0