Gazebo | Ignition | Community
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Cannot compile any plugins in Gazebo 7.9

I'm trying to learn gazebo by following the tutorials and i got stuck on this one :

On step 5, when i run make, i'm getting the following

    charles@A530-10l:~/velodyne_plugin/build$ make
[ 50%] Building CXX object CMakeFiles/velodyne_plugin.dir/
In file included from /usr/include/gazebo-7/gazebo/gazebo_core.hh:21:0,
                 from /usr/include/gazebo-7/gazebo/gazebo.hh:20, 
        from /home/charles/velodyne_plugin/
    /usr/include/gazebo-7/gazebo/msgs/msgs.hh:24:37: fatal error: ignition/math/Inertial.hh: No such file or directory
    compilation terminated.
    CMakeFiles/velodyne_plugin.dir/build.make:62: recipe for target 'CMakeFiles/velodyne_plugin.dir/' failed
        make[2]: *** [CMakeFiles/velodyne_plugin.dir/] Error 1
        CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/velodyne_plugin.dir/all' failed
        make[1]: *** [CMakeFiles/velodyne_plugin.dir/all] Error 2
    Makefile:83: recipe for target 'all' failed
    make: *** [all] Error 2

I'm running Gazebo 7.9, on Ubuntu 16.04 with Ros Kinetic. The problem seems to be with the ignition/math/Inertial.hh header-file that do not exist... When i do locate Inertial.hh. I get the following /usr/include/gazebo-7/gazebo/physics/Inertial.hh.

Any idea??

Thanks Charles