-
Notifications
You must be signed in to change notification settings - Fork 13.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Build error GSTREAMER #13117
Comments
You need to install gstreamer1.0. |
@TSC21 do you have any idea what could have caused that and how to fix it? I tried upgrading gstreamer on my machine but somehow did not manage. I don't know if 1.8.3 is the default supported for Ubuntu 16.04. |
Gstreamer 1.0 is now a sitl_gazebo dependency. The version you need is 1.0, and not the latest: https://github.com/PX4/sitl_gazebo#gstreamer-support. |
The instructions in the guide did not work for me. Executing The following packages have unmet dependencies: But installing: |
Yeah looks like those need to be updated. |
I get this same issue, but when I ran sudo apt-get install libgstreamer-plugins-base1.0-dev and build the target again, I get Module Not Found Errors ModuleNotFoundError: No module named 'jinja2' I think it may have something to do with the build trying to use python 3? I have python 3 on my machine, but 2.7 is the default. Here's why i think it may be python 3 related. [6/723] Generating serial_params.c |
@chricloud9 Please don't necrobump dead issues. It is irritating. Your problem is that you haven't installed the PX4 development environment properly - see http://dev.px4.io/master/en/setup/dev_env.html |
This issue has been mentioned on Discussion Forum for PX4, Pixhawk, QGroundControl, MAVSDK, MAVLink. There might be relevant details there: https://discuss.px4.io/t/px4-sitl-gazebo-syntax-error-error-in-cmakelists-txt-file/31212/7 |
Describe the bug
When trying to build the target
make px4_sitl_default gazebo
from current master, I get the following error: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/tanja/src/Firmware/Tools/sitl_gazebo
linked by target "gazebo_gst_camera_plugin" in directory /home/tanja/src/Firmware/Tools/sitl_gazebo
linked by target "gazebo_barometer_plugin" in directory /home/tanja/src/Firmware/Tools/sitl_gazebo
linked by target "gazebo_geotagged_images_plugin" in directory /home/tanja/src/Firmware/Tools/sitl_gazebo
linked by target "gazebo_magnetometer_plugin" in directory /home/tanja/src/Firmware/Tools/sitl_gazebo
linked by target "sensor_msgs" in directory /home/tanja/src/Firmware/Tools/sitl_gazebo
linked by target "gazebo_irlock_plugin" in directory /home/tanja/src/Firmware/Tools/sitl_gazebo
linked by target "gazebo_video_stream_widget" in directory /home/tanja/src/Firmware/Tools/sitl_gazebo
linked by target "gazebo_controller_interface" in directory /home/tanja/src/Firmware/Tools/sitl_gazebo
linked by target "gazebo_wind_plugin" in directory /home/tanja/src/Firmware/Tools/sitl_gazebo
linked by target "std_msgs" in directory /home/tanja/src/Firmware/Tools/sitl_gazebo
linked by target "gazebo_gps_plugin" in directory /home/tanja/src/Firmware/Tools/sitl_gazebo
linked by target "gazebo_sonar_plugin" in directory /home/tanja/src/Firmware/Tools/sitl_gazebo
linked by target "mav_msgs" in directory /home/tanja/src/Firmware/Tools/sitl_gazebo
linked by target "nav_msgs" in directory /home/tanja/src/Firmware/Tools/sitl_gazebo
linked by target "gazebo_lidar_plugin" in directory /home/tanja/src/Firmware/Tools/sitl_gazebo
linked by target "gazebo_opticalflow_plugin" in directory /home/tanja/src/Firmware/Tools/sitl_gazebo
linked by target "gazebo_mavlink_interface" in directory /home/tanja/src/Firmware/Tools/sitl_gazebo
linked by target "gazebo_uuv_plugin" in directory /home/tanja/src/Firmware/Tools/sitl_gazebo
linked by target "gazebo_vision_plugin" in directory /home/tanja/src/Firmware/Tools/sitl_gazebo
linked by target "gazebo_multirotor_base_plugin" in directory /home/tanja/src/Firmware/Tools/sitl_gazebo
linked by target "gazebo_imu_plugin" in directory /home/tanja/src/Firmware/Tools/sitl_gazebo
linked by target "gazebo_gimbal_controller_plugin" in directory /home/tanja/src/Firmware/Tools/sitl_gazebo
linked by target "physics_msgs" in directory /home/tanja/src/Firmware/Tools/sitl_gazebo
linked by target "gazebo_motor_model" in directory /home/tanja/src/Firmware/Tools/sitl_gazebo
-- Configuring incomplete, errors occurred!
See also "/home/tanja/src/Firmware/build/px4_sitl_default/build_gazebo/CMakeFiles/CMakeOutput.log".
See also "/home/tanja/src/Firmware/build/px4_sitl_default/build_gazebo/CMakeFiles/CMakeError.log".
[225/690] Linking CXX static library src/modules/uORB/libmodules__uORB.a
FAILED: cd /home/tanja/src/Firmware/build/px4_sitl_default/build_gazebo && /usr/bin/cmake -DCMAKE_INSTALL_PREFIX=/usr/local -DSEND_VISION_ESTIMATION_DATA=ON -GNinja /home/tanja/src/Firmware/Tools/sitl_gazebo && /usr/bin/cmake -E touch /home/tanja/src/Firmware/build/px4_sitl_default/external/Stamp/sitl_gazebo/sitl_gazebo-configure
[225/690] Linking CXX static library src/modules/uORB/libmodules__uORB.a
ninja: build stopped: subcommand failed.
Makefile:193: recipe for target 'px4_sitl_default' failed
make: *** [px4_sitl_default] Error 1
I bisected the branch and the problem starts at:
commit 91badce
Author: TSC21 n.marques21@hotmail.com
Date: Sun Oct 6 11:01:45 2019 +0100
I am running this under Ubumtu 16.04 with GStreamer Core Library version 1.8.3
The text was updated successfully, but these errors were encountered: