qgroundcontrol icon indicating copy to clipboard operation
qgroundcontrol copied to clipboard

Current master build fails to run on Linux

Open AndKe opened this issue 1 year ago • 4 comments

Current Behavior

Please describe what happens instead of the expected behavior.

After building master with Qt 6.6.3 on Ubuntu 24.04 I get this (on start):

(venv-ardupilot) andre@andre-wks:~/prog/qgroundcontrol/build/staging$ ./QGroundControl 
./QGroundControl: symbol lookup error: ./QGroundControl: undefined symbol: qt_resourceFeatureZstd, version Qt_6

Steps to Reproduce:

Please provide an unambiguous set of steps to reproduce the current behavior

  1. buld master
  2. run

System Information

When posting bug reports, include the following information

  • Operating System: Ubuntu 24.04
  • QGC build: master/HEAD

Detailed Description

on Discord I got an attempt to help:

Looks related to this https://codereview.qt-project.org/c/qt/qtbase/+/538064/2
or whatever target you are running it on doesn't have/support zstd

but the solution is not clear to me, it does not specify where/how to add QT_NO_AUTORCC_ZSTD

AndKe avatar Aug 01 '24 06:08 AndKe

Did you install libzstd-dev?

HTRamsey avatar Aug 01 '24 11:08 HTRamsey

yes, and I verified right now in case that was a new dependency.

libzstd-dev is already the newest version (1.5.5+dfsg2-2build1).

AndKe avatar Aug 02 '24 06:08 AndKe

try creating the appimage

HTRamsey avatar Aug 02 '24 20:08 HTRamsey

creating the appimage? / did you mean it, how?

AndKe avatar Aug 08 '24 10:08 AndKe

What I have to do on my master build on Kubuntu (Ubuntu flavour) 22.04 is: Right click on the build file instead of directly running it. Then select "Run in Konsole" It will fail initially with some warning message. Then I repeat this and it will run fine. ( I believe a background service isn't running at first startup but is ready by the time you start again)

kschoelpple avatar Sep 03 '24 07:09 kschoelpple

I discovered update build instructions, and it works. :)

AndKe avatar Sep 10 '24 09:09 AndKe