Menu

#1751 Rosegarden 25.12 fails during 'make'

None
closed
None
1
2025-12-08
2025-12-05
No

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

Related

Bugs: #1751

Discussion

  • Ted Felix

    Ted Felix - 2025-12-06

    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

     
  • Ted Felix

    Ted Felix - 2025-12-06

    We use lilv and lv2. That LV2_UI__scaleFactor was 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

     
  • Ted Felix

    Ted Felix - 2025-12-06

    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.

     
  • Will Jackson

    Will Jackson - 2025-12-06

    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.

     
  • Ted Felix

    Ted Felix - 2025-12-06

    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.

     
  • Ted Felix

    Ted Felix - 2025-12-08

    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.

     
    • Will Jackson

      Will Jackson - 2025-12-08

      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:

      Looks like the key lv2 commit ef7231b465
      https://github.com/lv2/lv2/commit/ef7231b465b5b3bf24b6d4d437af460ef5910099
      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.


      [bugs:#1751] https://sourceforge.net/p/rosegarden/bugs/1751/
      Rosegarden 25.12 fails during 'make'

      Status: open
      Group: None
      Created: Fri Dec 05, 2025 11:40 PM UTC by Will Jackson
      Last Updated: Sat Dec 06, 2025 02:58 PM UTC
      Owner: nobody

      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


      Sent from sourceforge.net because you indicated interest in
      https://sourceforge.net/p/rosegarden/bugs/1751/

      To unsubscribe from further messages, please visit
      https://sourceforge.net/auth/subscriptions/

       

      Related

      Bugs: #1751

  • Ted Felix

    Ted Felix - 2025-12-08
    • status: open --> closed
    • assigned_to: Ted Felix
     
  • Ted Felix

    Ted Felix - 2025-12-08

    Pushed lv2 check for >=1.18.0 as [e78887].

     

    Related

    Commit: [e78887]


Log in to post a comment.

MongoDB Logo MongoDB