Error when loading plugins with gazebo2.0 [closed]
Hello! I have upgraded both gazebo (now as "gazebo-current" with the version of 2.0.0-2) and ros-hydro-gazebo-ros (now the version is 2.4.0-1precise) packages. My os is ubuntu precise 32bit. When I start the hector_quadrotor simulator, the gazebo can not find the plugins needed by the simulator:
Error [Plugin.hh:141] Failed to load plugin libhector-gazebo-ros-sonar.so: libgazebo_physics.so.1: cannot open shared object file: No such file or directory
Error [Plugin.hh:141] Failed to load plugin libhector-gazebo-ros-imu.so: libgazebo_physics.so.1: cannot open shared object file: No such file or directory
Error [Plugin.hh:141] Failed to load plugin libhector-gazebo-ros-baro.so: libgazebo_physics.so.1: cannot open shared object file: No such file or directory
Error [Plugin.hh:141] Failed to load plugin libhector-gazebo-ros-magnetic.so: libgazebo_physics.so.1: cannot open shared object file: No such file or directory
Error [Plugin.hh:141] Failed to load plugin libhector-gazebo-ros-gps.so: libgazebo_physics.so.1: cannot open shared object file: No such file or directory
Error [Plugin.hh:141] Failed to load plugin libhector-gazebo-quadrotor-simple-controller.so: libgazebo_physics.so.1: cannot open shared object file: No such file or directory
All these plugins are in this directory of my catkin workspace: /home/xxx/Workspace/catkin_ws/devel/lib, and I have also sourced the setup file of gazebo and exported the environment variables accordingly:
export GAZEBORESOURCEPATH=/home/xxx/Workspace:$GAZEBORESOURCEPATH
export GAZEBOPLUGINPATH=/home/xxx/Workspace/catkin_ws/devel/lib:$GAZEBOPLUGIN_PATH
Thanks for any help!