Hi,
today i tried to reinstall gazebo
and gazebo_ros_pkgs
following the current instructions. Gazebo compiles and runs without any problems. but when i tried to compile gazebo_ros_pkg
s I ran into a couple of problems.
1st missing shared objects in the precompiled ubuntu package
when I called catkin_make to compile the gazebo_ros_pkgs
there where at least one missing .so file:
/usr/bin/ld: cannot find -lgazebo_sdf_interface
so i tried compiling from src witch leaded to other problems
2nd rosdep installs gazebo-prerelease
the command rosdep install --from-paths src --ignore-src --rosdistro groovy -y
installs
gazebo-prerelease and sdformat debian packages.
this should probably not happen...
but can be easily undone, with apt-get remove
...
3rd
when I try to run catkin_make
I get an error about redefinition of classes.
In file included from /usr/local/include/gazebo-1.9/gazebo/sdf/interface/SDF.hh:25:0,
from /usr/local/include/gazebo-1.9/gazebo/sdf/sdf.hh:21,
from /usr/local/include/gazebo-1.9/gazebo/physics/State.hh:26,
from /usr/local/include/gazebo-1.9/gazebo/physics/ModelState.hh:30,
from /usr/local/include/gazebo-1.9/gazebo/physics/Model.hh:31,
from /usr/local/include/gazebo-1.9/gazebo/physics/Actor.hh:24,
from /usr/local/include/gazebo-1.9/gazebo/physics/physics.hh:2,
from /home/bbrieber/catkin_ws/src/gazebo_ros_pkgs/gazebo_plugins/include/gazebo_plugins/gazebo_ros_block_laser.h:37,
from /home/bbrieber/catkin_ws/src/gazebo_ros_pkgs/gazebo_plugins/src/gazebo_ros_block_laser.cpp:26:
/usr/local/include/gazebo-1.9/gazebo/sdf/interface/Param.hh:50:9: error: redefinition of ‘class sdf::Param’
/usr/include/sdf-1.4/sdf/Param.hh:52:9: error: previous definition of ‘class sdf::Param’
currently I don't know how to fix this problems. I would be happy if some one could point me in the right direction...
Thx
Benjamin