Struggling with compiling MuseScore-4.4.0 on -current
by kgha from LinuxQuestions.org on (#6Q9GQ)
Not as easy as just changing version number in Ponce's buildscript. Then I got this error:
Code:/usr/bin/ld: ../engraving/libengraving.a(qrc_fonts_Tabulature.o): copy relocation against non-copyable protected symbol `qt_resourceFeatureZstd@@Qt_6' in /usr/lib64/libQt6Core.so.6.7.2
collect2: error: ld returned 1 exit status
make[2]: *** [src/app/CMakeFiles/mscore.dir/build.make:310: src/app/mscore] Error 1
make[1]: *** [CMakeFiles/Makefile2:5940: src/app/CMakeFiles/mscore.dir/all] Error 2
make: *** [Makefile:166: all] Error 2After some searching I got around this by adding the cmake variable
-DCMAKE_POSITION_INDEPENDENT_CODE:type=true
to the build script.
Now MuseScore builds without errors, but after upgrading the menu bar was missing, possibly related to https://github.com/musescore/MuseScore/issues/24097 ?
If so, nothing much to be done until the MuseScore devs decide to fix it. OK, I could try to compile Qt6-6.2.x and see what happens, but not particularly attractive. BTW the MuseScore-4.4.0-AppImage runs OK.
Code:/usr/bin/ld: ../engraving/libengraving.a(qrc_fonts_Tabulature.o): copy relocation against non-copyable protected symbol `qt_resourceFeatureZstd@@Qt_6' in /usr/lib64/libQt6Core.so.6.7.2
collect2: error: ld returned 1 exit status
make[2]: *** [src/app/CMakeFiles/mscore.dir/build.make:310: src/app/mscore] Error 1
make[1]: *** [CMakeFiles/Makefile2:5940: src/app/CMakeFiles/mscore.dir/all] Error 2
make: *** [Makefile:166: all] Error 2After some searching I got around this by adding the cmake variable
-DCMAKE_POSITION_INDEPENDENT_CODE:type=true
to the build script.
Now MuseScore builds without errors, but after upgrading the menu bar was missing, possibly related to https://github.com/musescore/MuseScore/issues/24097 ?
If so, nothing much to be done until the MuseScore devs decide to fix it. OK, I could try to compile Qt6-6.2.x and see what happens, but not particularly attractive. BTW the MuseScore-4.4.0-AppImage runs OK.