ros-visualization / visualization_tutorials

Tutorials related to using and extending RViz and interactive_markers.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Compilation fails with Ogre 1.9 on Arch Linux

bchretien opened this issue · comments

Here's the kind of errors we get with rviz_plugin_tutorials:

/opt/ros/hydro/include/rviz/mesh_loader.h:33:22: fatal error: OgreMesh.h: No such file or directory
 #include <OgreMesh.h>
                      ^
/opt/ros/hydro/include/rviz/properties/parse_color.h:35:29: fatal error: OgreColourValue.h: No such file or directory
 #include <OgreColourValue.h>
                             ^

Indeed, in parse_color.h, we find:

#include <OgreColourValue.h> 

However, headers are in /usr/include/OGRE, as explained in /usr/lib/pkgconfig/OGRE.pc:

Cflags: -I${includedir} -I${includedir}/OGRE -pthread

Thus, those C/C++ flags should be taken into account when compiling these tutorials. Since Ogre checking does not seem to be done, this should be fixed while adding pkg-config support.

This may also happen in the other tutorials.

Fixed in catkin.