Getting error of 'undefined reference to' while doing 'catkin_make' with graspit package

asked 2019-06-20 05:56:28 -0500

shreesurya gravatar image

updated 2019-06-20 08:13:18 -0500

gvdhoorn gravatar image

Dump or the error:

[ 51%] Built target grasp_execution_msgs_generate_messages_lisp
[ 51%] [ 51%] [ 51%] Built target arm_components_name_manager
Built target final_project_generate_messages_lisp
Built target final_project_generate_messages_cpp

[ 52%] Built target final_project_generate_messages_py
Linking CXX executable /home/turtlebot/catkin_ws/devel/lib/grasp_planning_graspit_ros/add_model_client

[ 52%] Built target eigengrasp_planner_client
Linking CXX executable /home/turtlebot/catkin_ws/devel/lib/grasp_planning_graspit_ros/grasp_planning_node

Linking CXX executable /home/turtlebot/catkin_ws/devel/lib/grasp_planning_graspit_ros/eigengrasp_planner_client_node

Linking CXX executable /home/turtlebot/catkin_ws/devel/lib/grasp_planning_graspit_ros/grasp_planning_service
/home/turtlebot/catkin_ws/devel/lib/libgrasp_planning_graspit.so: **undefined reference to** `typeinfo for WorldElement'

/home/turtlebot/catkin_ws/devel/lib/libgrasp_planning_graspit.so: undefined reference to `VariableSet::~VariableSet()'

/home/turtlebot/catkin_ws/devel/lib/libgrasp_planning_graspit.so: undefined reference to `HandObjectState::execute(Hand*) const'

/home/turtlebot/catkin_ws/devel/lib/libgrasp_planning_graspit.so: undefined reference to `World::destroyElement(WorldElement*, bool)'
edit retag flag offensive close merge delete

Comments

I am using graspit packages for Kinova Jaco model:

https://github.com/JenniferBuehler I added all the dependencies and CMAKE file also refers to correct destinations. Still I am getting undefined error message.

shreesurya gravatar imageshreesurya ( 2019-06-20 06:13:59 -0500 )edit