catkin_make error with Invoking "make -j2 -l2" failed in installing Moveit (rbx2,11.8)

1,251 views
Skip to first unread message

Shawn Yan

unread,
Nov 8, 2016, 10:28:06 AM11/8/16
to ros-by-example
I follow the tutorial in 11.8 Installing MoveIt!
after install moveit and git clone other files as aked


I run command catkin_make
and error occurs.

version indigo, ubuntu 14
what's going on? thanks!
-------------------------------------
/root/catkin_ws/src/moveit_core/collision_detection/src/collision_octomap_filter.cpp: In function ‘int collision_detection::refineContactNormals(const ObjectConstPtr&, collision_detection::CollisionResult&, double, double, bool, double, double)’:
/root/catkin_ws/src/moveit_core/collision_detection/src/collision_octomap_filter.cpp:118:71: error: conversion from ‘const boost::shared_ptr<const octomap::OcTree>’ to non-scalar type ‘std::shared_ptr<const octomap::OcTree>’ requested
         std::shared_ptr<const octomap::OcTree> octree = shape_octree->octree;
                                                                       ^
make[2]: *** [moveit_core/collision_detection/CMakeFiles/moveit_collision_detection.dir/src/collision_octomap_filter.cpp.o] Error 1
make[1]: *** [moveit_core/collision_detection/CMakeFiles/moveit_collision_detection.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
Linking CXX shared library /root/catkin_ws/devel/lib/libmoveit_kinematics_metrics.so
[ 30%] Built target moveit_kinematics_metrics
make: *** [all] Error 2
Invoking "make -j2 -l2" failed


Patrick Goebel

unread,
Nov 8, 2016, 7:48:04 PM11/8/16
to ros-by-...@googlegroups.com
Hi Shawn,

That bug was fixed for ROS Indigo so you should not need to install those moveit packages from source.

--patrick

Shawn Yan

unread,
Nov 8, 2016, 9:26:48 PM11/8/16
to ros-by-...@googlegroups.com
I have remove the source package and rebuild again successfully, thanks

--
You received this message because you are subscribed to a topic in the Google Groups "ros-by-example" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/ros-by-example/NpjcmGCg8po/unsubscribe.
To unsubscribe from this group and all its topics, send an email to ros-by-example+unsubscribe@googlegroups.com.
Visit this group at https://groups.google.com/group/ros-by-example.
For more options, visit https://groups.google.com/d/optout.



--

Thanks & best regards.
Shawn Yan  严诗浩  
Irobotlab of SCUT   
School of Mechanical and Automotive Engineering
South China University of Technology (SCUT)                 
Cell86-156-2647-8298E-mail:429692...@gmail.com

Reply all
Reply to author
Forward
0 new messages