davetcoleman / baxter_cpp

Additional Baxter packages for MoveIt, written entirely in C++
56 stars 39 forks source link

Problem building for hydro #13

Open ktaneja opened 10 years ago

ktaneja commented 10 years ago

I followed the instructions and executed the commands

mkdir -p ~/ros/ws_moveit/src cd ~/ros/ws_moveit/src wstool init . wstool merge https://raw.github.com/davetcoleman/baxter_cpp/hydro-devel/moveit.rosinstall wstool update cd .. rosdep install --from-paths src --ignore-src --rosdistro hydro -y catkin_make

Hoever catkin_make fails with the following errors. I have gcc 4.6.3.

/home/benjamin/ros/ws_hydro/src/moveit_ros/perception/semantic_world/src/semantic_world.cpp:479:5: error: ‘object_recognition_msgs::Table_std::allocator::_pose_type’ has no member named ‘pose’ In file included from /usr/include/boost/variant.hpp:17:0, from /opt/ros/hydro/include/geometric_shapes/shape_messages.h:43, from /opt/ros/hydro/include/geometric_shapes/shape_operations.h:41, from /home/benjamin/ros/ws_hydro/src/moveit_ros/perception/semantic_world/src/semantic_world.cpp:43:

... /usr/include/boost/variant/detail/initializer.hpp:89:24: note: no known conversion for argument 2 from ‘std::vector<geometrymsgs::Point<std::allocator >, std::allocator<geometrymsgs::Point<std::allocator > > >’ to ‘const shape_msgs::Mesh_std::allocator&’ make[2]: * [moveit_ros/perception/semantic_world/CMakeFiles/moveit_semantic_world.dir/src/semantic_world.cpp.o] Error 1 make[1]: * [moveit_ros/perception/semantic_world/CMakeFiles/moveit_semantic_world.dir/all] Error 2 make[1]: * Waiting for unfinished jobs.... Linking CXX shared library /home/benjamin/ros/ws_hydro/devel/lib/libmoveit_simple_controller_manager.so [ 56%] Built target moveit_simple_controller_manager make: * [all] Error 2

davetcoleman commented 10 years ago

I'd suggest you not try to install moveit from source using my instructions - they were optional and now I have removed them from the README documentation. Delete all the moveit repos that you pulled down from github. I tested everything today and it should all work (works for me).