Px4_sitl gazebo fail pls someone help me

[0/5] Performing configure step for ‘sitl_gazebo’
– install-prefix: /usr/local
– Using C++17 compiler
– Boost version: 1.65.1
– Found the following Boost libraries:
– system
– thread
– filesystem
– chrono
– date_time
– atomic
– Boost version: 1.65.1
– Found the following Boost libraries:
– thread
– system
– filesystem
– program_options
– regex
– iostreams
– date_time
– chrono
– atomic
– Found Protobuf: /usr/lib/x86_64-linux-gnu/libprotobuf.so;-lpthread (found version “3.0.0”)
– Boost version: 1.65.1
– Looking for OGRE…
– Found Ogre Ghadamon (1.9.0)
– Looking for OGRE_Paging…
– Found OGRE_Paging: optimized;/usr/lib/x86_64-linux-gnu/libOgrePaging.so;debug;/usr/lib/x86_64-linux-gnu/libOgrePaging.so
– Looking for OGRE_Terrain…
– Found OGRE_Terrain: optimized;/usr/lib/x86_64-linux-gnu/libOgreTerrain.so;debug;/usr/lib/x86_64-linux-gnu/libOgreTerrain.so
– Looking for OGRE_Property…
– Found OGRE_Property: optimized;/usr/lib/x86_64-linux-gnu/libOgreProperty.so;debug;/usr/lib/x86_64-linux-gnu/libOgreProperty.so
– Looking for OGRE_RTShaderSystem…
– Found OGRE_RTShaderSystem: optimized;/usr/lib/x86_64-linux-gnu/libOgreRTShaderSystem.so;debug;/usr/lib/x86_64-linux-gnu/libOgreRTShaderSystem.so
– Looking for OGRE_Volume…
– Found OGRE_Volume: optimized;/usr/lib/x86_64-linux-gnu/libOgreVolume.so;debug;/usr/lib/x86_64-linux-gnu/libOgreVolume.so
– Looking for OGRE_Overlay…
– Found OGRE_Overlay: optimized;/usr/lib/x86_64-linux-gnu/libOgreOverlay.so;debug;/usr/lib/x86_64-linux-gnu/libOgreOverlay.so
– Found Protobuf: /usr/lib/x86_64-linux-gnu/libprotobuf.so;-lpthread;-lpthread (found suitable version “3.0.0”, minimum required is “2.3.0”)
– Config-file not installed for ZeroMQ – checking for pkg-config
– Checking for module ‘libzmq >= 4’
– Found libzmq , version 4.2.5
– Checking for module ‘uuid’
– Found uuid, version 2.31.1
– Checking for module ‘tinyxml2’
– Found tinyxml2, version 6.0.0
– Looking for dlfcn.h - found
– Looking for libdl - found
– FreeImage.pc not found, we will search for FreeImage_INCLUDE_DIRS and FreeImage_LIBRARIES
– Checking for module ‘gts’
– Found gts, version 0.7.6
– Checking for module ‘libswscale’
– Found libswscale, version 4.8.100
– Checking for module ‘libavdevice >= 56.4.100’
– Found libavdevice , version 57.10.100
– Checking for module ‘libavformat’
– Found libavformat, version 57.83.100
– Checking for module ‘libavcodec’
– Found libavcodec, version 57.107.100
– Checking for module ‘libavutil’
– Found libavutil, version 55.78.100
– Checking for module ‘jsoncpp’
– Found jsoncpp, version 1.7.4
– Checking for module ‘yaml-0.1’
– Found yaml-0.1, version 0.1.7
– Checking for module ‘libzip’
– Found libzip, version 1.1.2
– Checking for module ‘gstreamer-1.0 >= 1.0’
– No package ‘gstreamer-1.0’ found
– Checking for module ‘gstreamer-base-1.0 >= 1.0’
– No package ‘gstreamer-base-1.0’ found
– Building klt_feature_tracker without catkin
– Building OpticalFlow with OpenCV
– catkin DISABLED
– Found Protobuf: /usr/lib/x86_64-linux-gnu/libprotobuf.so;-lpthread;-lpthread;-lpthread (found version “3.0.0”)
– Gazebo version: 9.11
– Found GStreamer: adding gst_camera_plugin
– Found GStreamer: adding gst_video_stream_widget
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
GSTREAMER_LIBRARIES (ADVANCED)
linked by target “LiftDragPlugin” in directory /home/shahiril/src/Firmware/Tools/sitl_gazebo
linked by target “gazebo_video_stream_widget” in directory /home/shahiril/src/Firmware/Tools/sitl_gazebo
linked by target “gazebo_gst_camera_plugin” in directory /home/shahiril/src/Firmware/Tools/sitl_gazebo
linked by target “gazebo_barometer_plugin” in directory /home/shahiril/src/Firmware/Tools/sitl_gazebo
linked by target “gazebo_magnetometer_plugin” in directory /home/shahiril/src/Firmware/Tools/sitl_gazebo
linked by target “gazebo_multirotor_base_plugin” in directory /home/shahiril/src/Firmware/Tools/sitl_gazebo
linked by target “gazebo_motor_model” in directory /home/shahiril/src/Firmware/Tools/sitl_gazebo
linked by target “gazebo_mavlink_interface” in directory /home/shahiril/src/Firmware/Tools/sitl_gazebo
linked by target “gazebo_gimbal_controller_plugin” in directory /home/shahiril/src/Firmware/Tools/sitl_gazebo
linked by target “physics_msgs” in directory /home/shahiril/src/Firmware/Tools/sitl_gazebo
linked by target “nav_msgs” in directory /home/shahiril/src/Firmware/Tools/sitl_gazebo
linked by target “gazebo_wind_plugin” in directory /home/shahiril/src/Firmware/Tools/sitl_gazebo
linked by target “gazebo_imu_plugin” in directory /home/shahiril/src/Firmware/Tools/sitl_gazebo
linked by target “std_msgs” in directory /home/shahiril/src/Firmware/Tools/sitl_gazebo
linked by target “gazebo_opticalflow_plugin” in directory /home/shahiril/src/Firmware/Tools/sitl_gazebo
linked by target “gazebo_sonar_plugin” in directory /home/shahiril/src/Firmware/Tools/sitl_gazebo
linked by target “sensor_msgs” in directory /home/shahiril/src/Firmware/Tools/sitl_gazebo
linked by target “gazebo_gps_plugin” in directory /home/shahiril/src/Firmware/Tools/sitl_gazebo
linked by target “mav_msgs” in directory /home/shahiril/src/Firmware/Tools/sitl_gazebo
linked by target “gazebo_irlock_plugin” in directory /home/shahiril/src/Firmware/Tools/sitl_gazebo
linked by target “gazebo_lidar_plugin” in directory /home/shahiril/src/Firmware/Tools/sitl_gazebo
linked by target “gazebo_uuv_plugin” in directory /home/shahiril/src/Firmware/Tools/sitl_gazebo
linked by target “gazebo_vision_plugin” in directory /home/shahiril/src/Firmware/Tools/sitl_gazebo
linked by target “gazebo_geotagged_images_plugin” in directory /home/shahiril/src/Firmware/Tools/sitl_gazebo
linked by target “gazebo_controller_interface” in directory /home/shahiril/src/Firmware/Tools/sitl_gazebo

– Configuring incomplete, errors occurred!
See also “/home/shahiril/src/Firmware/build/px4_sitl_default/build_gazebo/CMakeFiles/CMakeOutput.log”.
See also “/home/shahiril/src/Firmware/build/px4_sitl_default/build_gazebo/CMakeFiles/CMakeError.log”.
FAILED: external/Stamp/sitl_gazebo/sitl_gazebo-configure
cd /home/shahiril/src/Firmware/build/px4_sitl_default/build_gazebo && /usr/bin/cmake -DCMAKE_INSTALL_PREFIX=/usr/local -DSEND_VISION_ESTIMATION_DATA=ON -GNinja /home/shahiril/src/Firmware/Tools/sitl_gazebo && /usr/bin/cmake -E touch /home/shahiril/src/Firmware/build/px4_sitl_default/external/Stamp/sitl_gazebo/sitl_gazebo-configure
ninja: build stopped: subcommand failed.
Makefile:200: recipe for target ‘px4_sitl’ failed
make: *** [px4_sitl] Error 1

please go through this post

I am having the same problem. I had it working with v1.9.2 but just today I tried it with v1.10.0 and I get the same error as the poster of this thread

sry for the late reply. After i go through your post i still have the same problem.

sudo make px4_sitl gazebo
[304/452] Performing configure step for ‘sitl_gazebo’
– install-prefix: /usr/local
– Using C++17 compiler
– Boost version: 1.65.1
– Found the following Boost libraries:
– system
– thread
– filesystem
– chrono
– date_time
– atomic
– Boost version: 1.65.1
– Found the following Boost libraries:
– thread
– system
– filesystem
– program_options
– regex
– iostreams
– date_time
– chrono
– atomic
– Found Protobuf: /usr/lib/x86_64-linux-gnu/libprotobuf.so;-lpthread (found version “3.0.0”)
– Boost version: 1.65.1
– Looking for OGRE…
– Found Ogre Ghadamon (1.9.0)
– Looking for OGRE_Paging…
– Found OGRE_Paging: optimized;/usr/lib/x86_64-linux-gnu/libOgrePaging.so;debug;/usr/lib/x86_64-linux-gnu/libOgrePaging.so
– Looking for OGRE_Terrain…
– Found OGRE_Terrain: optimized;/usr/lib/x86_64-linux-gnu/libOgreTerrain.so;debug;/usr/lib/x86_64-linux-gnu/libOgreTerrain.so
– Looking for OGRE_Property…
– Found OGRE_Property: optimized;/usr/lib/x86_64-linux-gnu/libOgreProperty.so;debug;/usr/lib/x86_64-linux-gnu/libOgreProperty.so
– Looking for OGRE_RTShaderSystem…
– Found OGRE_RTShaderSystem: optimized;/usr/lib/x86_64-linux-gnu/libOgreRTShaderSystem.so;debug;/usr/lib/x86_64-linux-gnu/libOgreRTShaderSystem.so
– Looking for OGRE_Volume…
– Found OGRE_Volume: optimized;/usr/lib/x86_64-linux-gnu/libOgreVolume.so;debug;/usr/lib/x86_64-linux-gnu/libOgreVolume.so
– Looking for OGRE_Overlay…
– Found OGRE_Overlay: optimized;/usr/lib/x86_64-linux-gnu/libOgreOverlay.so;debug;/usr/lib/x86_64-linux-gnu/libOgreOverlay.so
– Found Protobuf: /usr/lib/x86_64-linux-gnu/libprotobuf.so;-lpthread;-lpthread (found suitable version “3.0.0”, minimum required is “2.3.0”)
– Config-file not installed for ZeroMQ – checking for pkg-config
– Checking for module ‘libzmq >= 4’
– Found libzmq , version 4.2.5
– Checking for module ‘uuid’
– Found uuid, version 2.31.1
– Checking for module ‘tinyxml2’
– Found tinyxml2, version 6.0.0
– Looking for dlfcn.h - found
– Looking for libdl - found
– FreeImage.pc not found, we will search for FreeImage_INCLUDE_DIRS and FreeImage_LIBRARIES
– Checking for module ‘gts’
– Found gts, version 0.7.6
– Checking for module ‘libswscale’
– Found libswscale, version 4.8.100
– Checking for module ‘libavdevice >= 56.4.100’
– Found libavdevice , version 57.10.100
– Checking for module ‘libavformat’
– Found libavformat, version 57.83.100
– Checking for module ‘libavcodec’
– Found libavcodec, version 57.107.100
– Checking for module ‘libavutil’
– Found libavutil, version 55.78.100
– Checking for module ‘jsoncpp’
– Found jsoncpp, version 1.7.4
– Checking for module ‘yaml-0.1’
– Found yaml-0.1, version 0.1.7
– Checking for module ‘libzip’
– Found libzip, version 1.1.2
– Checking for module ‘gstreamer-1.0 >= 1.0’
– No package ‘gstreamer-1.0’ found
– Checking for module ‘gstreamer-base-1.0 >= 1.0’
– No package ‘gstreamer-base-1.0’ found
– Building klt_feature_tracker without catkin
– Building OpticalFlow with OpenCV
– catkin DISABLED
– Found Protobuf: /usr/lib/x86_64-linux-gnu/libprotobuf.so;-lpthread;-lpthread;-lpthread (found version “3.0.0”)
– Gazebo version: 9.11
– Found GStreamer: adding gst_camera_plugin
– Found GStreamer: adding gst_video_stream_widget
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
GSTREAMER_LIBRARIES (ADVANCED)
linked by target “LiftDragPlugin” in directory /home/shahiril/src/Firmware/Tools/sitl_gazebo
linked by target “gazebo_video_stream_widget” in directory /home/shahiril/src/Firmware/Tools/sitl_gazebo
linked by target “gazebo_gst_camera_plugin” in directory /home/shahiril/src/Firmware/Tools/sitl_gazebo
linked by target “gazebo_barometer_plugin” in directory /home/shahiril/src/Firmware/Tools/sitl_gazebo
linked by target “gazebo_magnetometer_plugin” in directory /home/shahiril/src/Firmware/Tools/sitl_gazebo
linked by target “gazebo_multirotor_base_plugin” in directory /home/shahiril/src/Firmware/Tools/sitl_gazebo
linked by target “gazebo_motor_model” in directory /home/shahiril/src/Firmware/Tools/sitl_gazebo
linked by target “gazebo_mavlink_interface” in directory /home/shahiril/src/Firmware/Tools/sitl_gazebo
linked by target “gazebo_gimbal_controller_plugin” in directory /home/shahiril/src/Firmware/Tools/sitl_gazebo
linked by target “physics_msgs” in directory /home/shahiril/src/Firmware/Tools/sitl_gazebo
linked by target “nav_msgs” in directory /home/shahiril/src/Firmware/Tools/sitl_gazebo
linked by target “gazebo_wind_plugin” in directory /home/shahiril/src/Firmware/Tools/sitl_gazebo
linked by target “gazebo_imu_plugin” in directory /home/shahiril/src/Firmware/Tools/sitl_gazebo
linked by target “std_msgs” in directory /home/shahiril/src/Firmware/Tools/sitl_gazebo
linked by target “gazebo_opticalflow_plugin” in directory /home/shahiril/src/Firmware/Tools/sitl_gazebo
linked by target “gazebo_sonar_plugin” in directory /home/shahiril/src/Firmware/Tools/sitl_gazebo
linked by target “sensor_msgs” in directory /home/shahiril/src/Firmware/Tools/sitl_gazebo
linked by target “gazebo_gps_plugin” in directory /home/shahiril/src/Firmware/Tools/sitl_gazebo
linked by target “mav_msgs” in directory /home/shahiril/src/Firmware/Tools/sitl_gazebo
linked by target “gazebo_irlock_plugin” in directory /home/shahiril/src/Firmware/Tools/sitl_gazebo
linked by target “gazebo_lidar_plugin” in directory /home/shahiril/src/Firmware/Tools/sitl_gazebo
linked by target “gazebo_uuv_plugin” in directory /home/shahiril/src/Firmware/Tools/sitl_gazebo
linked by target “gazebo_vision_plugin” in directory /home/shahiril/src/Firmware/Tools/sitl_gazebo
linked by target “gazebo_geotagged_images_plugin” in directory /home/shahiril/src/Firmware/Tools/sitl_gazebo
linked by target “gazebo_controller_interface” in directory /home/shahiril/src/Firmware/Tools/sitl_gazebo

– Configuring incomplete, errors occurred!
See also “/home/shahiril/src/Firmware/build/px4_sitl_default/build_gazebo/CMakeFiles/CMakeOutput.log”.
See also “/home/shahiril/src/Firmware/build/px4_sitl_default/build_gazebo/CMakeFiles/CMakeError.log”.
[389/452] Linking CXX static library s…odules/load_mon/libmodules__load_mon.a
FAILED: external/Stamp/sitl_gazebo/sitl_gazebo-configure
cd /home/shahiril/src/Firmware/build/px4_sitl_default/build_gazebo && /usr/bin/cmake -DCMAKE_INSTALL_PREFIX=/usr/local -DSEND_VISION_ESTIMATION_DATA=ON -GNinja /home/shahiril/src/Firmware/Tools/sitl_gazebo && /usr/bin/cmake -E touch /home/shahiril/src/Firmware/build/px4_sitl_default/external/Stamp/sitl_gazebo/sitl_gazebo-configure
[395/452] Linking CXX static library s…d_detector/libmodules__land_detector.a
ninja: build stopped: subcommand failed.
Makefile:200: recipe for target ‘px4_sitl’ failed
make: *** [px4_sitl] Error 1