mavlink / qgroundcontrol

Cross-platform ground control station for drones (Android, iOS, Mac OS, Linux, Windows)
http://qgroundcontrol.io
3.27k stars 3.6k forks source link

QGC on WSL2 not running #9385

Closed jsemeda closed 3 years ago

jsemeda commented 3 years ago

I am trying to run QGC under WSL2 (windows subsystem for linux) Ubuntu 20 but I am getting this error QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-jsemeda' Settings location "/home/jsemeda/.config/QGroundControl.org/QGroundControl.ini" Is writable?: true Filter rules "*Log.debug=false\nGStreamerAPILog.debug=true\n" System reported locale: QLocale(C, Default, Default) ; Name "C" ; Preffered (used in maps): "None" LocalizationLog: Qt lib localization for "C" is not present LocalizationLog: Error loading source localization for "C" LocalizationLog: Error loading json localization for "C" Error loading text-to-speech plug-in "speechd" serialnmea: No serial ports found VideoReceiverLog: Stop called on empty URI VideoReceiverLog: Stop called on empty URI MAVLinkLogManagerLog: MAVLink logs directory: "/home/jsemeda/Documents/QGroundControl/Logs" Map Cache in: "/home/jsemeda/.cache/QGCMapCache300" / "qgcMapCache.db" qml: QGCCorePlugin(0x56029ff01c90) [1,2]

: Invalid empty URL qrc:/qml/MainRootWindow.qml:412:13: QML ColumnLayout: Possible anchor loop detected on vertical anchor. Buffer creation failed Buffer creation failed QOpenGLShaderProgram: could not create shader program QOpenGLShader: could not create shader QOpenGLShader: could not create shader shader compilation failed: "" QOpenGLShaderProgram::uniformLocation(pixelSize): shader program is not linked QOpenGLShaderProgram::uniformLocation(qt_Matrix): shader program is not linked QOpenGLShaderProgram::uniformLocation(opacity): shader program is not linked QOpenGLShaderProgram: could not create shader program QOpenGLShader: could not create shader QOpenGLShader: could not create shader shader compilation failed: "" QOpenGLShaderProgram::uniformLocation(matrix): shader program is not linked QOpenGLShaderProgram::uniformLocation(opacity): shader program is not linked QOpenGLShaderProgram::uniformLocation(pixelSize): shader program is not linked QOpenGLShaderProgram: could not create shader program QOpenGLShader: could not create shader QOpenGLShader: could not create shader shader compilation failed: "" QOpenGLShaderProgram::uniformLocation(qt_Matrix): shader program is not linked QOpenGLShaderProgram: could not create shader program QOpenGLShader: could not create shader QOpenGLShader: could not create shader shader compilation failed: "" QOpenGLShaderProgram::uniformLocation(qt_Matrix): shader program is not linked QOpenGLShaderProgram: could not create shader program QOpenGLShader: could not create shader QOpenGLShader: could not create shader shader compilation failed: "" QOpenGLShaderProgram::uniformLocation(matrix): shader program is not linked QOpenGLShaderProgram::uniformLocation(opacity): shader program is not linked QOpenGLShaderProgram::uniformLocation(pixelSize): shader program is not linked QOpenGLShaderProgram: could not create shader program QOpenGLShader: could not create shader QOpenGLShader: could not create shader shader compilation failed: "" QOpenGLShaderProgram::uniformLocation(matrix): shader program is not linked QOpenGLShaderProgram::uniformLocation(textureScale): shader program is not linked QOpenGLShaderProgram::uniformLocation(color): shader program is not linked QOpenGLShaderProgram::uniformLocation(alphaMin): shader program is not linked QOpenGLShaderProgram::uniformLocation(alphaMax): shader program is not linked QOpenGLShaderProgram::uniformLocation(fontScale): shader program is not linked QOpenGLShaderProgram::uniformLocation(vecDelta): shader program is not linked QOpenGLShaderProgram: could not create shader program QOpenGLShader: could not create shader QOpenGLShader: could not create shader shader compilation failed: "" QOpenGLShaderProgram::uniformLocation(qt_Matrix): shader program is not linked QOpenGLShaderProgram: could not create shader program QOpenGLShader: could not create shader QOpenGLShader: could not create shader shader compilation failed: "" QOpenGLShaderProgram::uniformLocation(matrix): shader program is not linked QOpenGLShaderProgram::uniformLocation(opacity): shader program is not linked QOpenGLShaderProgram::uniformLocation(pixelSize): shader program is not linked QOpenGLShaderProgram: could not create shader program QOpenGLShader: could not create shader QOpenGLShader: could not create shader shader compilation failed: "" QOpenGLShaderProgram::uniformLocation(pixelSize): shader program is not linked QOpenGLShaderProgram::uniformLocation(qt_Matrix): shader program is not linked QOpenGLShaderProgram::uniformLocation(opacity): shader program is not linked QOpenGLShaderProgram: could not create shader program QOpenGLShader: could not create shader QOpenGLShader: could not create shader shader compilation failed: "" QOpenGLShaderProgram::uniformLocation(pixelSize): shader program is not linked QOpenGLShaderProgram::uniformLocation(qt_Matrix): shader program is not linked QOpenGLShaderProgram::uniformLocation(opacity): shader program is not linked QOpenGLShaderProgram: could not create shader program QOpenGLShader: could not create shader QOpenGLShader: could not create shader shader compilation failed: "" QOpenGLShaderProgram::uniformLocation(pixelSize): shader program is not linked QOpenGLShaderProgram::uniformLocation(qt_Matrix): shader program is not linked QOpenGLShaderProgram::uniformLocation(opacity): shader program is not linked QOpenGLShaderProgram: could not create shader program QOpenGLShader: could not create shader QOpenGLShader: could not create shader shader compilation failed: "" QOpenGLShaderProgram::uniformLocation(pixelSize): shader program is not linked QOpenGLShaderProgram::uniformLocation(qt_Matrix): shader program is not linked QOpenGLShaderProgram::uniformLocation(opacity): shader program is not linked QOpenGLShaderProgram: could not create shader program QOpenGLShader: could not create shader QOpenGLShader: could not create shader shader compilation failed: "" QOpenGLShaderProgram::uniformLocation(pixelSize): shader program is not linked QOpenGLShaderProgram::uniformLocation(qt_Matrix): shader program is not linked QOpenGLShaderProgram::uniformLocation(opacity): shader program is not linked QOpenGLShaderProgram: could not create shader program QOpenGLShader: could not create shader QOpenGLShader: could not create shader shader compilation failed: "" QOpenGLShaderProgram: could not create shader program QOpenGLShader: could not create shader QOpenGLShader: could not create shader shader compilation failed: "" QOpenGLShaderProgram::uniformLocation(matrix): shader program is not linked QOpenGLShaderProgram::uniformLocation(opacity): shader program is not linked QOpenGLShaderProgram: could not create shader program QOpenGLShader: could not create shader QOpenGLShader: could not create shader shader compilation failed: "" QOpenGLShaderProgram::uniformLocation(matrix): shader program is not linked QOpenGLShaderProgram::uniformLocation(textureScale): shader program is not linked QOpenGLShaderProgram::uniformLocation(color): shader program is not linked QOpenGLShaderProgram::uniformLocation(alphaMin): shader program is not linked QOpenGLShaderProgram::uniformLocation(alphaMax): shader program is not linked QOpenGLShaderProgram::uniformLocation(fontScale): shader program is not linked QOpenGLShaderProgram::uniformLocation(vecDelta): shader program is not linked QOpenGLShaderProgram: could not create shader program QOpenGLShader: could not create shader QOpenGLShader: could not create shader shader compilation failed: "" QOpenGLShaderProgram::uniformLocation(matrix): shader program is not linked QOpenGLShaderProgram::uniformLocation(opacity): shader program is not linked QOpenGLShaderProgram::uniformLocation(pixelSize): shader program is not linked QOpenGLShaderProgram: could not create shader program QOpenGLShader: could not create shader QOpenGLShader: could not create shader shader compilation failed: "" QOpenGLShaderProgram::uniformLocation(pixelSize): shader program is not linked QOpenGLShaderProgram::uniformLocation(qt_Matrix): shader program is not linked QOpenGLShaderProgram::uniformLocation(opacity): shader program is not linked QOpenGLShaderProgram: could not create shader program QOpenGLShader: could not create shader QOpenGLShader: could not create shader shader compilation failed: "" QOpenGLShaderProgram::uniformLocation(pixelSize): shader program is not linked QOpenGLShaderProgram::uniformLocation(qt_Matrix): shader program is not linked QOpenGLShaderProgram::uniformLocation(opacity): shader program is not linked QOpenGLShaderProgram: could not create shader program QOpenGLShader: could not create shader QOpenGLShader: could not create shader shader compilation failed: "" QOpenGLShaderProgram::uniformLocation(pixelSize): shader program is not linked QOpenGLShaderProgram::uniformLocation(qt_Matrix): shader program is not linked QOpenGLShaderProgram::uniformLocation(opacity): shader program is not linked QOpenGLShaderProgram: could not create shader program QOpenGLShader: could not create shader QOpenGLShader: could not create shader shader compilation failed: "" QOpenGLShaderProgram::uniformLocation(pixelSize): shader program is not linked QOpenGLShaderProgram::uniformLocation(qt_Matrix): shader program is not linked QOpenGLShaderProgram::uniformLocation(opacity): shader program is not linked QOpenGLShaderProgram: could not create shader program QOpenGLShader: could not create shader QOpenGLShader: could not create shader shader compilation failed: "" QOpenGLShaderProgram::uniformLocation(pixelSize): shader program is not linked QOpenGLShaderProgram::uniformLocation(qt_Matrix): shader program is not linked QOpenGLShaderProgram::uniformLocation(opacity): shader program is not linked QOpenGLShaderProgram: could not create shader program QOpenGLShader: could not create shader QOpenGLShader: could not create shader shader compilation failed: "" QOpenGLShaderProgram::uniformLocation(pixelSize): shader program is not linked QOpenGLShaderProgram::uniformLocation(qt_Matrix): shader program is not linked QOpenGLShaderProgram::uniformLocation(opacity): shader program is not linked QOpenGLShaderProgram: could not create shader program QOpenGLShader: could not create shader QOpenGLShader: could not create shader shader compilation failed: "" QOpenGLShaderProgram::uniformLocation(pixelSize): shader program is not linked QOpenGLShaderProgram::uniformLocation(qt_Matrix): shader program is not linked QOpenGLShaderProgram::uniformLocation(opacity): shader program is not linked QOpenGLShaderProgram: could not create shader program QOpenGLShader: could not create shader QOpenGLShader: could not create shader shader compilation failed: "" QOpenGLShaderProgram::uniformLocation(pixelSize): shader program is not linked QOpenGLShaderProgram::uniformLocation(qt_Matrix): shader program is not linked QOpenGLShaderProgram::uniformLocation(opacity): shader program is not linked QOpenGLShaderProgram: could not create shader program QOpenGLShader: could not create shader QOpenGLShader: could not create shader shader compilation failed: "" QOpenGLShaderProgram::uniformLocation(pixelSize): shader program is not linked QOpenGLShaderProgram::uniformLocation(qt_Matrix): shader program is not linked QOpenGLShaderProgram::uniformLocation(opacity): shader program is not linked QOpenGLShaderProgram: could not create shader program QOpenGLShader: could not create shader QOpenGLShader: could not create shader shader compilation failed: "" QOpenGLShaderProgram::uniformLocation(pixelSize): shader program is not linked QOpenGLShaderProgram::uniformLocation(qt_Matrix): shader program is not linked QOpenGLShaderProgram::uniformLocation(opacity): shader program is not linked QOpenGLShaderProgram: could not create shader program QOpenGLShader: could not create shader QOpenGLShader: could not create shader shader compilation failed: "" QOpenGLShaderProgram::uniformLocation(pixelSize): shader program is not linked QOpenGLShaderProgram::uniformLocation(qt_Matrix): shader program is not linked QOpenGLShaderProgram::uniformLocation(opacity): shader program is not linked QOpenGLShaderProgram: could not create shader program QOpenGLShader: could not create shader QOpenGLShader: could not create shader shader compilation failed: "" QOpenGLShaderProgram::uniformLocation(matrix): shader program is not linked QOpenGLShaderProgram::uniformLocation(opacity): shader program is not linked QOpenGLShaderProgram: could not create shader program QOpenGLShader: could not create shader QOpenGLShader: could not create shader shader compilation failed: "" QOpenGLShaderProgram::uniformLocation(matrix): shader program is not linked QOpenGLShaderProgram::uniformLocation(opacity): shader program is not linked QOpenGLShaderProgram: could not create shader program QOpenGLShader: could not create shader QOpenGLShader: could not create shader shader compilation failed: "" QOpenGLShaderProgram::uniformLocation(matrix): shader program is not linked QOpenGLShaderProgram::uniformLocation(opacity): shader program is not linked QOpenGLShaderProgram: could not create shader program QOpenGLShader: could not create shader QSGMaterialShader: Shader compilation failed: "" QOpenGLShaderProgram::uniformLocation(qt_Matrix): shader program is not linked QOpenGLShaderProgram::uniformLocation(opacity): shader program is not linked Segmentation fault # This system is for posting bugs or feature requests ONLY. Support questions will be automatically closed with no response. # For questions about how to use or build QGC see: http://qgroundcontrol.com/#resources ---- # To post a bug report When posting bug reports, include the following informaiton: - Ground station operating system. - QGroundControl version and build (daily, stable, self-built from source, etc.) - **If you are using a Stable build which is not the latest, first step is to install latest Stable build and try again prior to entering a bug report.** - Autopilot board: Pixhawk I, Pixhawk Mini, Pixhawk 2, etc. - Autopilot firmware (e.g. PX4, ArduPilot, custom) and version. - Exact steps to reproduce the problem. Starting from booting QGroundControl to when the problem occurs. **All this template text should be deleted before creating your issue.**
LorenzMeier commented 3 years ago

We are not officially supporting WSL - please use the native build for Linux.

jonyMarino commented 2 years ago

@jsemeda, were you able to make it work?

jaiswalharsh commented 2 years ago

@jsemeda I would be very interested to know if you made it work somehow.

RbtsEvrwhr-Riley commented 1 year ago

I was able to make it work using defaults on Ubuntu Windows 11. Performance and stability are poor, but it works.