SyrianSpock / realsense_gazebo_plugin

Intel RealSense R200 Gazebo ROS plugin and model
93 stars 78 forks source link

Errors occured when building #54

Open funnyrabbitvu opened 4 years ago

funnyrabbitvu commented 4 years ago

Hello everyone, I'm using ROS Kinetic and Gazebo 7. I got these following issues when catkin_make. Did anybody got the same please give me a hand to solve it! Thank you guys pretty much!

[ 96%] Built target rtabmapviz [ 96%] Building CXX object realsense_gazebo_plugin/CMakeFiles/test_realsense_streams.dir/test/realsense_streams_test.cpp.o [ 97%] Built target rosflight_sil_plugin [ 98%] Built target imu_plugin [ 98%] Built target odometry_plugin [ 98%] Built target magnetometer_plugin [ 98%] Built target airspeed_plugin [100%] Built target barometer_plugin [100%] Built target GPS_plugin 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 /usr/include/gazebo-7/gazebo/rendering/DepthCamera.hh:28, from /home/datvu/catkin_ws/src/realsense_gazebo_plugin/include/realsense_gazebo_plugin/RealSensePlugin.h:24, from /home/datvu/catkin_ws/src/realsense_gazebo_plugin/include/realsense_gazebo_plugin/gazebo_ros_realsense.h:4, from /home/datvu/catkin_ws/src/realsense_gazebo_plugin/src/gazebo_ros_realsense.cpp:1: /usr/include/OGRE/Terrain/OgreTerrainPaging.h:33:35: fatal error: OgrePagedWorldSection.h: No such file or directory compilation terminated. 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 /usr/include/gazebo-7/gazebo/rendering/DepthCamera.hh:28, from /home/datvu/catkin_ws/src/realsense_gazebo_plugin/include/realsense_gazebo_plugin/RealSensePlugin.h:24, from /home/datvu/catkin_ws/src/realsense_gazebo_plugin/src/RealSensePlugin.cpp:17: /usr/include/OGRE/Terrain/OgreTerrainPaging.h:33:35: fatal error: OgrePagedWorldSection.h: No such file or directory compilation terminated. realsense_gazebo_plugin/CMakeFiles/realsense_gazebo_plugin.dir/build.make:86: recipe for target 'realsense_gazebo_plugin/CMakeFiles/realsense_gazebo_plugin.dir/src/gazebo_ros_realsense.cpp.o' failed make[2]: [realsense_gazebo_plugin/CMakeFiles/realsense_gazebo_plugin.dir/src/gazebo_ros_realsense.cpp.o] Error 1 make[2]: Waiting for unfinished jobs.... realsense_gazebo_plugin/CMakeFiles/realsense_gazebo_plugin.dir/build.make:62: recipe for target 'realsense_gazebo_plugin/CMakeFiles/realsense_gazebo_plugin.dir/src/RealSensePlugin.cpp.o' failed make[2]: [realsense_gazebo_plugin/CMakeFiles/realsense_gazebo_plugin.dir/src/RealSensePlugin.cpp.o] Error 1 CMakeFiles/Makefile2:8539: recipe for target 'realsense_gazebo_plugin/CMakeFiles/realsense_gazebo_plugin.dir/all' failed make[1]: [realsense_gazebo_plugin/CMakeFiles/realsense_gazebo_plugin.dir/all] Error 2 make[1]: Waiting for unfinished jobs.... [100%] Linking CXX executable /home/datvu/catkin_ws/devel/lib/realsense_gazebo_plugin/test_realsense_streams [100%] Built target test_realsense_streams Makefile:138: recipe for target 'all' failed make: [all] Error 2 Invoking "make -j4 -l4" failed