Rosegarden 25.06 (built from source) installs and runs perfectly (on Ubuntu 20.04). I then tried to build 25.12 from source, the cmake .. stage works fine, but when running 'make' I get this right at the end of the process: - any ideas? Thanks.
[100%] Building CXX object src/CMakeFiles/rosegardenprivate.dir/gui/studio/AudioPluginLV2GUIWindow.cpp.o
/home/user/rosegarden-25.12/src/gui/studio/AudioPluginLV2GUIWindow.cpp: In constructor ‘Rosegarden::AudioPluginLV2GUIWindow::AudioPluginLV2GUIWindow(Rosegarden::AudioPluginLV2GUI, const QString&, const LilvUI, const LV2UI_Descriptor*, const QString&, Rosegarden::AudioPluginLV2GUI::UIType)’:
/home/user/rosegarden-25.12/src/gui/studio/AudioPluginLV2GUIWindow.cpp:163:55: error: ‘LV2_UI__scaleFactor’ was not declared in this scope
163 | LV2_URID scaleFactorUrid = LV2URIDMapper::uridMap(LV2_UI__scaleFactor);
| ^~~~~~~~~~~~~~~~~~~
[100%] Building CXX object src/CMakeFiles/rosegardenprivate.dir/qrc_data.cpp.o
[100%] Building CXX object src/CMakeFiles/rosegardenprivate.dir/qrc_locale.cpp.o
make[2]: *** [src/CMakeFiles/rosegardenprivate.dir/build.make:12199: src/CMakeFiles/rosegardenprivate.dir/gui/studio/AudioPluginLV2GUIWindow.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [CMakeFiles/Makefile2:150: src/CMakeFiles/rosegardenprivate.dir/all] Error 2
make: *** [Makefile:146: all] Error 2
Which version of LV2 are you building with? We require 1.18.0.
See related issue in another project:
https://github.com/brummer10/Rumor/issues/1
We use lilv and lv2. That
LV2_UI__scaleFactorwas introduced in lv2 1.18.0. That's the version you need in order to build.Here's where it was added to lv2:
https://github.com/lv2/lv2/commit/ef7231b465b5b3bf24b6d4d437af460ef5910099
https://launchpad.net/ubuntu/+source/lv2
Ubuntu 20.04 shipped with lv2 1.16.0. Upgrading Ubuntu to 22.04 will get you what you need. Or you can try building and installing the latest lv2.
My mistake - am using Ubuntu 22.04.5.
I updated lv2 from 1.18.2-1 to the latest, as you advised, (to 1.18.11) and installed Rosegarden 25.12 - without any problems! Thanks for the your advice.
No problem. I'll adjust the requirements in the cmake stuff so we catch this earlier. Sounds like maybe the real requirement might be 1.18.10. I'll do some more digging. Thanks for the heads up.
Looks like the key lv2 commit ef7231b465 is in 1.18.0. Not sure why it's not in Ubuntu's 1.18.2-1. Maybe they patched it out. Maybe lv2 removed it for a bit and put it back. I'll set cmake for 1.18.0 and leave it. If others have problems, perhaps we'll update this.
Closing for now.
Thanks Ted, never heard of 'Meson' before (used to compile lv2). I
couldn't find any reference online to my particular problem.
Report should have referred to Ubuntu 22.04 -sorry for the confusion.
Glad latest Rosegarden works! 🙂
On 08/12/2025 17:09, Ted Felix wrote:
Related
Bugs:
#1751Pushed lv2 check for >=1.18.0 as [e78887].
Related
Commit: [e78887]