ethz-asl / rotors_simulator

RotorS is a UAV gazebo simulator
1.24k stars 759 forks source link

Wont' build on ROS kinetic due to OGRE header path #381

Open jmwest0774 opened 7 years ago

jmwest0774 commented 7 years ago

get the following error compiling on Ubunut 16.04/Kinetic

In file included from /usr/include/gazebo-7/gazebo/rendering/ogre_gazebo.h:61:0, from /usr/include/gazebo-7/gazebo/rendering/Camera.hh:50, from /home/nathan/temp_ws/src/rotors_simulator/rotors_gazebo_plugins/include/rotors_gazebo_plugins/external/gazebo_geotagged_images_plugin.h:25, from /home/nathan/temp_ws/src/rotors_simulator/rotors_gazebo_plugins/src/external/gazebo_geotagged_images_plugin.cpp:18: /usr/include/OGRE/Terrain/OgreTerrainPaging.h:33:35: fatal error: OgrePagedWorldSection.h: No such file or directory compilation terminated.

Fixed by changing line 48 of rotor_gazebo_plugins/CMakeLists.txt to: include_directories(${ADDITIONAL_INCLUDE_DIRS} ${OGRE_INCLUDE_DIRS}/Paging)

lecampos commented 7 years ago

Same issue, same fix.

thanks =)

Unity-W commented 5 years ago

Thanks +1

SaimonMR commented 4 years ago

Thanks so much, problem fixed!

BIRL-xu commented 3 years ago

Fixed the issue! Thanks!

JiangxinkeTao commented 2 years ago

Fixed this issues Thanks