osrf / sandia-hand

0 stars 1 forks source link

Sandia-hand crash when compiling from source #22

Open osrf-migration opened 7 years ago

osrf-migration commented 7 years ago

Original report (archived issue) by Guillaume Hauss (Bitbucket: GuillaumeHauss).


Hi,

I'm trying to install DRCSIM from this tutorial. I'm running Ubuntu 16.04 and using ROS Kinetic, so I had to compile it from source.

When I launch

#!bash

catkin_make install

the compilation crashes and these are the two errors I get

#!bash

recipe for target 'sandia-hand/ros/sandia_hand_driver/gui/homing/moc_homing_dialog.cxx' failed
recipe for target 'sandia-hand/ros/sandia_hand_driver/CMakeFiles/sandia_hand_homing.dir/all' failed

Google has not been really helpful on this matter, so I hope you'll point me in the right direction to get it done. Thank you in advance !

Guillaume

osrf-migration commented 6 years ago

Original comment by Patrick Lynch (Bitbucket: lynchp13).


I had a really similar issue when I was trying to follow the same tutorial with the same setup.

My problem was the version of my boost library. I updated my library

#!bash
apt-get install libboost1.58-all-dev

That fixed my problem

Hope this helps

Patrick

osrf-migration commented 6 years ago

Original comment by Masoud Fazeli (Bitbucket: mdotfazeli).


@GuillaumeHauss I have the same problem. Did you fix it?

osrf-migration commented 6 years ago

Original comment by Mert İmre (Bitbucket: mert imre).


I also have followed the same steps as @GuillaumeHauss . Only thing to remark is that instead of ros-kinetic-geometry-experimental package I needed to install ros-kinetic-geometry2 package which is the same package I believe. (Geometry Experimantal was not available.) But I believe the problem is not related to that.

Did anybody faced with the same problem and solved ?I also tried the solution suggested by @lynchp13 yet the problem still occurs. My terminal output is at the end of this message.

Thanks in advance;

mert

usr/include/boost/type_traits/detail/has_binary_operator.hp:50: Parse error at "BOOST_JOIN"
sandia-hand/ros/sandia_hand_driver/CMakeFiles/sandia_hand_homing.dir/build.make:62: recipe for target 'sandia-hand/ros/sandia_hand_driver/gui/homing/moc_homing_dialog.cxx' failed
make[2]: [sandia-hand/ros/sandia_hand_driver/gui/homing/moc_homing_dialog.cxx] Error 1
CMakeFiles/Makefile2:10869: recipe for target 'sandia-hand/ros/sandia_hand_driver/CMakeFiles/sandia_hand_homing.dir/all' failed
make[1]:
[sandia-hand/ros/sandia_hand_driver/CMakeFiles/sandia_hand_homing.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....