davetcoleman / baxter_cpp

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

Error Building from Hydro #25

Open rojas70 opened 9 years ago

rojas70 commented 9 years ago

Followed hydro-devel instructions.

  1. Already had a catkin workspace
  2. Already had installed Rethink Baxter SDK 1.0
  3. Ran wstool merge --merge-replace -y https://raw.github.com/davetcoleman/baxter_cpp/hydro-devel/baxter.rosinstall
  4. Ran
wstool update
sudo apt-get update 
sudo apt-get upgrade-dist
source /opt/ros/hydro/setup.bash
rosdep update
  1. Ran
cd ..
rosdep install --from-paths . --ignore-src --rosdistro hydro -y

Got an error indicating that I had multiple packages with the same name stemming from baxter_common. Resolved by placing a touch CATKIN_IGNORE' in the replacebaxtercommon###`.

Then, when running catkin_make multiple times I got the following error:

[ 95%] Built target baxter_hardware_interface
Linking CXX executable /home/vmrguser/ros/hydro/baxter_ws/devel/lib/baxter_pick_place/random_planning
/home/vmrguser/ros/hydro/rbx_ws/devel/lib/libmoveit_planning_scene_monitor.so: undefined reference to `planning_scene::PlanningScene::PlanningScene(boost::shared_ptr<moveit::core::RobotModel const> const&, boost::shared_ptr<collision_detection::World>)'
collect2: ld returned 1 exit status
make[2]: *** [/home/vmrguser/ros/hydro/baxter_ws/devel/lib/moveit_simple_grasps/moveit_simple_grasps_test] Error 1
make[1]: *** [moveit_simple_grasps/CMakeFiles/moveit_simple_grasps_test.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
/home/vmrguser/ros/hydro/rbx_ws/devel/lib/libmoveit_planning_scene_monitor.so: undefined reference to `planning_scene::PlanningScene::PlanningScene(boost::shared_ptr<moveit::core::RobotModel const> const&, boost::shared_ptr<collision_detection::World>)'
collect2: ld returned 1 exit status
make[2]: *** [/home/vmrguser/ros/hydro/baxter_ws/devel/lib/baxter_pick_place/get_joint_values] Error 1
make[1]: *** [baxter_cpp/baxter_pick_place/CMakeFiles/get_joint_values.dir/all] Error 2
/home/vmrguser/ros/hydro/rbx_ws/devel/lib/libmoveit_planning_scene_monitor.so: undefined reference to `planning_scene::PlanningScene::PlanningScene(boost::shared_ptr<moveit::core::RobotModel const> const&, boost::shared_ptr<collision_detection::World>)'
collect2: ld returned 1 exit status
make[2]: *** [/home/vmrguser/ros/hydro/baxter_ws/devel/lib/moveit_visual_tools/visual_tools_test] Error 1
make[1]: *** [moveit_visual_tools/CMakeFiles/visual_tools_test.dir/all] Error 2
/home/vmrguser/ros/hydro/rbx_ws/devel/lib/libmoveit_planning_scene_monitor.so: undefined reference to `planning_scene::PlanningScene::PlanningScene(boost::shared_ptr<moveit::core::RobotModel const> const&, boost::shared_ptr<collision_detection::World>)'
collect2: ld returned 1 exit status
make[2]: *** [/home/vmrguser/ros/hydro/baxter_ws/devel/lib/moveit_simple_grasps/moveit_simple_grasps_filter_test] Error 1
make[1]: *** [moveit_simple_grasps/CMakeFiles/moveit_simple_grasps_filter_test.dir/all] Error 2
/home/vmrguser/ros/hydro/rbx_ws/devel/lib/libmoveit_planning_scene_monitor.so: undefined reference to `planning_scene::PlanningScene::PlanningScene(boost::shared_ptr<moveit::core::RobotModel const> const&, boost::shared_ptr<collision_detection::World>)'
collect2: ld returned 1 exit status
make[2]: *** [/home/vmrguser/ros/hydro/baxter_ws/devel/lib/baxter_pick_place/end_effector_position] Error 1
make[1]: *** [baxter_cpp/baxter_pick_place/CMakeFiles/end_effector_position.dir/all] Error 2
/home/vmrguser/ros/hydro/rbx_ws/devel/lib/libmoveit_planning_scene_monitor.so: undefined reference to `planning_scene::PlanningScene::PlanningScene(boost::shared_ptr<moveit::core::RobotModel const> const&, boost::shared_ptr<collision_detection::World>)'
collect2: ld returned 1 exit status
make[2]: *** [/home/vmrguser/ros/hydro/baxter_ws/devel/lib/moveit_simple_grasps/moveit_simple_grasps_server] Error 1
make[1]: *** [moveit_simple_grasps/CMakeFiles/moveit_simple_grasps_server.dir/all] Error 2
/home/vmrguser/ros/hydro/rbx_ws/devel/lib/libmoveit_planning_scene_monitor.so: undefined reference to `planning_scene::PlanningScene::PlanningScene(boost::shared_ptr<moveit::core::RobotModel const> const&, boost::shared_ptr<collision_detection::World>)'
[ 95%] Built target baxter_hardware_interface
Linking CXX executable /home/vmrguser/ros/hydro/baxter_ws/devel/lib/baxter_pick_place/random_planning
/home/vmrguser/ros/hydro/rbx_ws/devel/lib/libmoveit_planning_scene_monitor.so: undefined reference to `planning_scene::PlanningScene::PlanningScene(boost::shared_ptr<moveit::core::RobotModel const> const&, boost::shared_ptr<collision_detection::World>)'
collect2: ld returned 1 exit status
make[2]: *** [/home/vmrguser/ros/hydro/baxter_ws/devel/lib/moveit_simple_grasps/moveit_simple_grasps_test] Error 1
make[1]: *** [moveit_simple_grasps/CMakeFiles/moveit_simple_grasps_test.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
/home/vmrguser/ros/hydro/rbx_ws/devel/lib/libmoveit_planning_scene_monitor.so: undefined reference to `planning_scene::PlanningScene::PlanningScene(boost::shared_ptr<moveit::core::RobotModel const> const&, boost::shared_ptr<collision_detection::World>)'
collect2: ld returned 1 exit status
make[2]: *** [/home/vmrguser/ros/hydro/baxter_ws/devel/lib/baxter_pick_place/get_joint_values] Error 1
make[1]: *** [baxter_cpp/baxter_pick_place/CMakeFiles/get_joint_values.dir/all] Error 2
/home/vmrguser/ros/hydro/rbx_ws/devel/lib/libmoveit_planning_scene_monitor.so: undefined reference to `planning_scene::PlanningScene::PlanningScene(boost::shared_ptr<moveit::core::RobotModel const> const&, boost::shared_ptr<collision_detection::World>)'
collect2: ld returned 1 exit status
make[2]: *** [/home/vmrguser/ros/hydro/baxter_ws/devel/lib/moveit_visual_tools/visual_tools_test] Error 1
make[1]: *** [moveit_visual_tools/CMakeFiles/visual_tools_test.dir/all] Error 2
/home/vmrguser/ros/hydro/rbx_ws/devel/lib/libmoveit_planning_scene_monitor.so: undefined reference to `planning_scene::PlanningScene::PlanningScene(boost::shared_ptr<moveit::core::RobotModel const> const&, boost::shared_ptr<collision_detection::World>)'
collect2: ld returned 1 exit status
make[2]: *** [/home/vmrguser/ros/hydro/baxter_ws/devel/lib/moveit_simple_grasps/moveit_simple_grasps_filter_test] Error 1
make[1]: *** [moveit_simple_grasps/CMakeFiles/moveit_simple_grasps_filter_test.dir/all] Error 2
/home/vmrguser/ros/hydro/rbx_ws/devel/lib/libmoveit_planning_scene_monitor.so: undefined reference to `planning_scene::PlanningScene::PlanningScene(boost::shared_ptr<moveit::core::RobotModel const> const&, boost::shared_ptr<collision_detection::World>)'
collect2: ld returned 1 exit status
make[2]: *** [/home/vmrguser/ros/hydro/baxter_ws/devel/lib/baxter_pick_place/end_effector_position] Error 1
make[1]: *** [baxter_cpp/baxter_pick_place/CMakeFiles/end_effector_position.dir/all] Error 2
/home/vmrguser/ros/hydro/rbx_ws/devel/lib/libmoveit_planning_scene_monitor.so: undefined reference to `planning_scene::PlanningScene::PlanningScene(boost::shared_ptr<moveit::core::RobotModel const> const&, boost::shared_ptr<collision_detection::World>)'
collect2: ld returned 1 exit status
make[2]: *** [/home/vmrguser/ros/hydro/baxter_ws/devel/lib/moveit_simple_grasps/moveit_simple_grasps_server] Error 1
make[1]: *** [moveit_simple_grasps/CMakeFiles/moveit_simple_grasps_server.dir/all] Error 2
/home/vmrguser/ros/hydro/rbx_ws/devel/lib/libmoveit_planning_scene_monitor.so: undefined reference to `planning_scene::PlanningScene::PlanningScene(boost::shared_ptr<moveit::core::RobotModel const> const&, boost::shared_ptr<collision_detection::World>)'
collect2: ld returned 1 exit status
make[2]: *** [/home/vmrguser/ros/hydro/baxter_ws/devel/lib/baxter_pick_place/block_pick_place] Error 1
make[1]: *** [baxter_cpp/baxter_pick_place/CMakeFiles/block_pick_place.dir/all] Error 2
/home/vmrguser/ros/hydro/rbx_ws/devel/lib/libmoveit_planning_scene_monitor.so: undefined reference to `planning_scene::PlanningScene::PlanningScene(boost::shared_ptr<moveit::core::RobotModel const> const&, boost::shared_ptr<collision_detection::World>)'
collect2: ld returned 1 exit status
make[2]: *** [/home/vmrguser/ros/hydro/baxter_ws/devel/lib/baxter_pick_place/random_planning] Error 1
make[1]: *** [baxter_cpp/baxter_pick_place/CMakeFiles/random_planning.dir/all] Error 2
make: *** [all] Error 2
Invoking "make" failed
davetcoleman commented 9 years ago

I'm sorry, I only support the latest ROS distro - no time for Hydro. Feel free to PR a fix.