Robotics StackExchange | Archived questions

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

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)'

Asked by shreesurya on 2019-06-20 05:48:34 UTC

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.

Asked by shreesurya on 2019-06-20 06:13:59 UTC

Answers