ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

gazebo plugin undefined symbol

asked 2012-11-19 07:23:43 -0500

shuai gravatar image

Hi all,

I am trying to make a gazebo plugin work now. The plugin compiles just fine but when I run it, it gives the the following errors: undefined symbol: _ZN6gazebo18GazeboRosApiPlugin16spawnGazeboModelERN11gazebo_msgs18SpawnModelRequest_ISaIvEEERNS1_19SpawnModelResponse_IS3_EE

Does anyone know what causes the problem? Thank you!!

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2012-11-19 08:22:43 -0500

shuai gravatar image

Figured it out... I forgot to uncomment the definition of spawngazebomodel function. I think that the problem is I declared the function but didn't define it. So the library cannot actually use it.

edit flag offensive delete link more

Question Tools


Asked: 2012-11-19 07:23:43 -0500

Seen: 819 times

Last updated: Nov 19 '12