I am following this guide: ROS with Gazebo Simulation | PX4 User Guide
and when I run “make px4_sitl gazebo”, I receive the following output:
johndambrosio@ubuntu:~/PX4-Autopilot$ make px4_sitl gazebo
[0/5] Performing configure step for 'sitl_gazebo'
-- install-prefix: /usr/local
-- cmake build type: RelWithDebInfo
-- Using C++17 standard
-- ccache enabled (export CCACHE_DISABLE=1 to disable)
-- 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
-- signals
-- 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
-- Checking for module 'gstreamer-app-1.0 >= 1.0'
-- No package 'gstreamer-app-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.0
-- 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_APP_LIBRARIES (ADVANCED)
linked by target "ForceVisual" in directory /home/johndambrosio/PX4-Autopilot/Tools/sitl_gazebo
linked by target "gazebo_airship_dynamics_plugin" in directory /home/johndambrosio/PX4-Autopilot/Tools/sitl_gazebo
linked by target "sensor_msgs" in directory /home/johndambrosio/PX4-Autopilot/Tools/sitl_gazebo
linked by target "gazebo_airspeed_plugin" in directory /home/johndambrosio/PX4-Autopilot/Tools/sitl_gazebo
linked by target "gazebo_groundtruth_plugin" in directory /home/johndambrosio/PX4-Autopilot/Tools/sitl_gazebo
linked by target "physics_msgs" in directory /home/johndambrosio/PX4-Autopilot/Tools/sitl_gazebo
linked by target "std_msgs" in directory /home/johndambrosio/PX4-Autopilot/Tools/sitl_gazebo
linked by target "gazebo_usv_dynamics_plugin" in directory /home/johndambrosio/PX4-Autopilot/Tools/sitl_gazebo
linked by target "gazebo_video_stream_widget" in directory /home/johndambrosio/PX4-Autopilot/Tools/sitl_gazebo
linked by target "gazebo_gps_plugin" in directory /home/johndambrosio/PX4-Autopilot/Tools/sitl_gazebo
linked by target "gazebo_opticalflow_mockup_plugin" in directory /home/johndambrosio/PX4-Autopilot/Tools/sitl_gazebo
linked by target "gazebo_irlock_plugin" in directory /home/johndambrosio/PX4-Autopilot/Tools/sitl_gazebo
linked by target "gazebo_parachute_plugin" in directory /home/johndambrosio/PX4-Autopilot/Tools/sitl_gazebo
linked by target "gazebo_lidar_plugin" in directory /home/johndambrosio/PX4-Autopilot/Tools/sitl_gazebo
linked by target "gazebo_multirotor_base_plugin" in directory /home/johndambrosio/PX4-Autopilot/Tools/sitl_gazebo
linked by target "gazebo_wind_plugin" in directory /home/johndambrosio/PX4-Autopilot/Tools/sitl_gazebo
linked by target "gazebo_opticalflow_plugin" in directory /home/johndambrosio/PX4-Autopilot/Tools/sitl_gazebo
linked by target "gazebo_uuv_plugin" in directory /home/johndambrosio/PX4-Autopilot/Tools/sitl_gazebo
linked by target "gazebo_drop_plugin" in directory /home/johndambrosio/PX4-Autopilot/Tools/sitl_gazebo
linked by target "nav_msgs" in directory /home/johndambrosio/PX4-Autopilot/Tools/sitl_gazebo
linked by target "gazebo_sonar_plugin" in directory /home/johndambrosio/PX4-Autopilot/Tools/sitl_gazebo
linked by target "gazebo_vision_plugin" in directory /home/johndambrosio/PX4-Autopilot/Tools/sitl_gazebo
linked by target "gazebo_user_camera_plugin" in directory /home/johndambrosio/PX4-Autopilot/Tools/sitl_gazebo
linked by target "gazebo_gst_camera_plugin" in directory /home/johndambrosio/PX4-Autopilot/Tools/sitl_gazebo
linked by target "mav_msgs" in directory /home/johndambrosio/PX4-Autopilot/Tools/sitl_gazebo
linked by target "gazebo_controller_interface" in directory /home/johndambrosio/PX4-Autopilot/Tools/sitl_gazebo
linked by target "gazebo_gimbal_controller_plugin" in directory /home/johndambrosio/PX4-Autopilot/Tools/sitl_gazebo
linked by target "gazebo_imu_plugin" in directory /home/johndambrosio/PX4-Autopilot/Tools/sitl_gazebo
linked by target "gazebo_mavlink_interface" in directory /home/johndambrosio/PX4-Autopilot/Tools/sitl_gazebo
linked by target "gazebo_motor_model" in directory /home/johndambrosio/PX4-Autopilot/Tools/sitl_gazebo
linked by target "gazebo_camera_manager_plugin" in directory /home/johndambrosio/PX4-Autopilot/Tools/sitl_gazebo
linked by target "gazebo_magnetometer_plugin" in directory /home/johndambrosio/PX4-Autopilot/Tools/sitl_gazebo
linked by target "gazebo_barometer_plugin" in directory /home/johndambrosio/PX4-Autopilot/Tools/sitl_gazebo
linked by target "LiftDragPlugin" in directory /home/johndambrosio/PX4-Autopilot/Tools/sitl_gazebo
linked by target "gazebo_catapult_plugin" in directory /home/johndambrosio/PX4-Autopilot/Tools/sitl_gazebo
GSTREAMER_LIBRARIES (ADVANCED)
linked by target "ForceVisual" in directory /home/johndambrosio/PX4-Autopilot/Tools/sitl_gazebo
linked by target "gazebo_airship_dynamics_plugin" in directory /home/johndambrosio/PX4-Autopilot/Tools/sitl_gazebo
linked by target "sensor_msgs" in directory /home/johndambrosio/PX4-Autopilot/Tools/sitl_gazebo
linked by target "gazebo_airspeed_plugin" in directory /home/johndambrosio/PX4-Autopilot/Tools/sitl_gazebo
linked by target "gazebo_groundtruth_plugin" in directory /home/johndambrosio/PX4-Autopilot/Tools/sitl_gazebo
linked by target "physics_msgs" in directory /home/johndambrosio/PX4-Autopilot/Tools/sitl_gazebo
linked by target "std_msgs" in directory /home/johndambrosio/PX4-Autopilot/Tools/sitl_gazebo
linked by target "gazebo_usv_dynamics_plugin" in directory /home/johndambrosio/PX4-Autopilot/Tools/sitl_gazebo
linked by target "gazebo_video_stream_widget" in directory /home/johndambrosio/PX4-Autopilot/Tools/sitl_gazebo
linked by target "gazebo_gps_plugin" in directory /home/johndambrosio/PX4-Autopilot/Tools/sitl_gazebo
linked by target "gazebo_opticalflow_mockup_plugin" in directory /home/johndambrosio/PX4-Autopilot/Tools/sitl_gazebo
linked by target "gazebo_irlock_plugin" in directory /home/johndambrosio/PX4-Autopilot/Tools/sitl_gazebo
linked by target "gazebo_parachute_plugin" in directory /home/johndambrosio/PX4-Autopilot/Tools/sitl_gazebo
linked by target "gazebo_lidar_plugin" in directory /home/johndambrosio/PX4-Autopilot/Tools/sitl_gazebo
linked by target "gazebo_multirotor_base_plugin" in directory /home/johndambrosio/PX4-Autopilot/Tools/sitl_gazebo
linked by target "gazebo_wind_plugin" in directory /home/johndambrosio/PX4-Autopilot/Tools/sitl_gazebo
linked by target "gazebo_opticalflow_plugin" in directory /home/johndambrosio/PX4-Autopilot/Tools/sitl_gazebo
linked by target "gazebo_uuv_plugin" in directory /home/johndambrosio/PX4-Autopilot/Tools/sitl_gazebo
linked by target "gazebo_drop_plugin" in directory /home/johndambrosio/PX4-Autopilot/Tools/sitl_gazebo
linked by target "nav_msgs" in directory /home/johndambrosio/PX4-Autopilot/Tools/sitl_gazebo
linked by target "gazebo_sonar_plugin" in directory /home/johndambrosio/PX4-Autopilot/Tools/sitl_gazebo
linked by target "gazebo_vision_plugin" in directory /home/johndambrosio/PX4-Autopilot/Tools/sitl_gazebo
linked by target "gazebo_user_camera_plugin" in directory /home/johndambrosio/PX4-Autopilot/Tools/sitl_gazebo
linked by target "gazebo_gst_camera_plugin" in directory /home/johndambrosio/PX4-Autopilot/Tools/sitl_gazebo
linked by target "mav_msgs" in directory /home/johndambrosio/PX4-Autopilot/Tools/sitl_gazebo
linked by target "gazebo_controller_interface" in directory /home/johndambrosio/PX4-Autopilot/Tools/sitl_gazebo
linked by target "gazebo_gimbal_controller_plugin" in directory /home/johndambrosio/PX4-Autopilot/Tools/sitl_gazebo
linked by target "gazebo_imu_plugin" in directory /home/johndambrosio/PX4-Autopilot/Tools/sitl_gazebo
linked by target "gazebo_mavlink_interface" in directory /home/johndambrosio/PX4-Autopilot/Tools/sitl_gazebo
linked by target "gazebo_motor_model" in directory /home/johndambrosio/PX4-Autopilot/Tools/sitl_gazebo
linked by target "gazebo_camera_manager_plugin" in directory /home/johndambrosio/PX4-Autopilot/Tools/sitl_gazebo
linked by target "gazebo_magnetometer_plugin" in directory /home/johndambrosio/PX4-Autopilot/Tools/sitl_gazebo
linked by target "gazebo_barometer_plugin" in directory /home/johndambrosio/PX4-Autopilot/Tools/sitl_gazebo
linked by target "LiftDragPlugin" in directory /home/johndambrosio/PX4-Autopilot/Tools/sitl_gazebo
linked by target "gazebo_catapult_plugin" in directory /home/johndambrosio/PX4-Autopilot/Tools/sitl_gazebo
-- Configuring incomplete, errors occurred!
See also "/home/johndambrosio/PX4-Autopilot/build/px4_sitl_default/build_gazebo/CMakeFiles/CMakeOutput.log".
See also "/home/johndambrosio/PX4-Autopilot/build/px4_sitl_default/build_gazebo/CMakeFiles/CMakeError.log".
FAILED: external/Stamp/sitl_gazebo/sitl_gazebo-configure
cd /home/johndambrosio/PX4-Autopilot/build/px4_sitl_default/build_gazebo && /usr/bin/cmake -DCMAKE_INSTALL_PREFIX=/usr/local -DSEND_ODOMETRY_DATA=ON -DGENERATE_ROS_MODELS=ON -GNinja /home/johndambrosio/PX4-Autopilot/Tools/sitl_gazebo && /usr/bin/cmake -E touch /home/johndambrosio/PX4-Autopilot/build/px4_sitl_default/external/Stamp/sitl_gazebo/sitl_gazebo-configure
ninja: build stopped: subcommand failed.
Makefile:230: recipe for target 'px4_sitl' failed
make: *** [px4_sitl] Error 1