undefined symbol error in gazebo

来源:互联网 发布:windows sever 2003 编辑:程序博客网 时间:2024/06/06 00:34

http://answers.gazebosim.org/question/12526/undefined-symbol-error-in-gazebo/
undefined symbol error in gazebo

asked Feb 5 '16

dividkim gravatar image

I wanna make camera gazebo plugin so i tried to follow this tutorial

http://www.theconstructsim.com/create...

you can check that cpp source and .h files...

but it have some errors when i build it...

gzserver: symbol lookup error: /home/gwkim/light_sensor_ws/devel/lib/libgazebo_light_sensor_plugin.so: undefined symbol: _ZN6gazebo20GazeboRosCameraUtilsC2Ev[gazebo-2] process has died [pid 24539, exit code 127, cmd /opt/ros/indigo/lib/gazebo_ros/gzserver --verbose -e ode /home/gwkim/light_sensor_ws/src/gazebo_light_sensor_plugin/worlds/light.world __name:=gazebo __log:=/home/gwkim/.ros/log/f9e256d6-caee-11e5-8656-001e6595291c/gazebo-2.log].log file: /home/gwkim/.ros/log/f9e256d6-caee-11e5-8656-001e6595291c/gazebo-2*.log

i tried to serch its answer but i didnt find correct solution

i need your help.

im using 14.04 ubuntu and indigo version.

please answer here or send me e-mail please.

Comments

What version of Gazebo and ROS are you using? The error you have posted looks like a run-time error, not a build error, right? My first guess would be your light sensor plugin cannot find the `GazeboRosCameraUtils` library. Make sure all the necessary plugins and libraries are in the correct paths.

nkoenig gravatar imagenkoenig ( Feb 6 '16 )
add a comment

1 Answer

Sort by »oldestnewestmost voted
0

answered Feb 6 '16

scpeters gravatar image

I think the package needs to depend on gazebo_plugins also (add tocatkin_create_pkg command, CM

阅读全文
0 0
原创粉丝点击