Menu

#1757 Compilation fails (related to LV2Gtk)

None
feedback
None
5
2026-01-09
2025-12-24
No
$ cmake ..
-- The C compiler identification is GNU 12.3.0
-- The CXX compiler identification is GNU 12.3.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found PkgConfig: /usr/bin/pkg-config (found version "1.8.0") 
-- Checking for module 'alsa>=0.9'
--   Found alsa, version 1.2.9
-- Found ZLIB: /usr/lib64/libz.so (found version "1.2.13")  
-- Checking for module 'liblo>=0.7'
--   Found liblo, version 0.31
-- Checking for module 'lrdf>=0.2'
--   Found lrdf, version 0.5.0
-- Checking for module 'fftw3f>=3.0.0'
--   Found fftw3f, version 3.3.10
-- Checking for module 'samplerate>=0.1.2'
--   Found samplerate, version 0.2.2
-- Checking for module 'sndfile>=1.0.16'
--   Found sndfile, version 1.2.0
-- Checking for module 'jack'
--   Found jack, version 1.9.21
-- Checking for module 'lilv-0'
--   Found lilv-0, version 0.24.20
-- Checking for module 'lv2>=1.18.0'
--   Found lv2, version 1.18.10
-- The following features have been enabled:

 * ALSA, Alsa library (Advanced Linux Sound Architecture), used for MIDI support
 * SNDFILE, Better support for WAV files
 * JACK, Library for accessing the JACK server (http://jackaudio.org).
 * LIRCCLIENT, The LIRC client library, for remote control support

-- The following REQUIRED packages have been found:

 * PkgConfig
 * Qt5Core
 * Qt5Gui
 * Qt5Widgets
 * Qt5Xml
 * Qt5Network
 * Qt5PrintSupport
 * Qt5Test
 * Qt5 (required version >= 5.1.0)
 * ZLIB

-- The following features have been disabled:

 * LILV, The Lilv library, for lv2 plugins

-- Not building unit tests, using a static library for rosegarden
-- Found GTK2_GTK: /usr/lib64/libgtk-x11-2.0.so  
-- Found SharedMimeInfo: /usr/bin/update-mime-database (found suitable version "2.2", minimum required is "0.50") 
-- Configuring done (1.7s)
-- Generating done (0.1s)
-- Build files have been written to: /Maison/src/Rosegarden/rosegarden-yg.git/BUILD
$
$ make
[  1%] Generating svn_header
-- Build key 6f40626911 (25.12-64-g04e36f6ea)
[  1%] Built target svnheader
[  1%] Automatic MOC for target rosegardenprivate
[  1%] Built target rosegardenprivate_autogen
[  1%] Generating zh_CN.qm
Updating '/Maison/src/Rosegarden/rosegarden-yg.git/BUILD/src/zh_CN.qm'...
    Generated 3862 translation(s) (3595 finished and 267 unfinished)
    Ignored 676 untranslated source text(s)

(...)

[ 43%] Building CXX object src/CMakeFiles/rosegardenprivate.dir/gui/application/RosegardenMainViewWidget.cpp.o
[ 43%] Building CXX object src/CMakeFiles/rosegardenprivate.dir/gui/application/StartupTester.cpp.o
[ 44%] Building CXX object src/CMakeFiles/rosegardenprivate.dir/gui/application/SetWaitCursor.cpp.o
[ 44%] Building CXX object src/CMakeFiles/rosegardenprivate.dir/gui/application/LircCommander.cpp.o
[ 44%] Building CXX object src/CMakeFiles/rosegardenprivate.dir/gui/application/RosegardenMainWindow.cpp.o
/Maison/src/Rosegarden/rosegarden-yg.git/src/gui/application/RosegardenMainWindow.cpp: In destructor ‘virtual Rosegarden::RosegardenMainWindow::~RosegardenMainWindow()’:
/Maison/src/Rosegarden/rosegarden-yg.git/src/gui/application/RosegardenMainWindow.cpp:638:5: error: ‘LV2Gtk’ has not been declared
  638 |     LV2Gtk::shutDown();
      |     ^~~~~~
make[2]: *** [src/CMakeFiles/rosegardenprivate.dir/build.make:5607: src/CMakeFiles/rosegardenprivate.dir/gui/application/RosegardenMainWindow.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:153: src/CMakeFiles/rosegardenprivate.dir/all] Error 2
make: *** [Makefile:146: all] Error 2
$ 

Discussion

  • Philip Leishman

    Philip Leishman - 2025-12-24

    This comes from the combination of DISABLE_LV2 and finding gtk2 !
    Fixed.
    See merge request.

     

    Last edit: Ted Felix 2025-12-28
  • Philip Leishman

    Philip Leishman - 2025-12-27
    • assigned_to: Philip Leishman
     
  • Ted Felix

    Ted Felix - 2025-12-28

    Merged as [20ebc4]. Please test latest git.

     

    Related

    Commit: [20ebc4]

  • Ted Felix

    Ted Felix - 2025-12-28
    • status: open --> feedback
     
  • Yves Guillemot

    Yves Guillemot - 2026-01-09

    It compiles now.
    Thanks (and sorry for the delay)

     

Log in to post a comment.

MongoDB Logo MongoDB