So, I can't see any bug or problem on Drumstick or VMPK.
So, you may be right blaming GCC 13, which may be buggy. But anyway, Qt6 supported platforms only lists GCC 9, 10 and 11 at this moment: https://doc.qt.io/qt-6/linux.html
I've just now built VMPK with GCC 12 with correct results right now, though. I will try newer compilers later.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Yes, I already built drumstick with Qt6 hence this error.
For packages dependencies, isn't a problem as I built at least one package under a chroot and I'll quickly see if a dependency is missing.
Thanks got your work.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
So, the problem is that you have built Drumstick with Qt6, but then you tried to build VMPK with Qt5. This should be detected earlier at configure time, when running CMake, instead of producing an error at compile/link time.
That function (PianoKeybd::useCustomNoteNames) belongs to Drumstick::Widgets since a long time ago. See: https://drumstick.sourceforge.io/docs/classdrumstick_1_1widgets_1_1PianoKeybd.html#ae0680db70e0f1f8b72d4ea71e722978f
And src/CMakeLists.txt:176-183 links to Drumstick::Widgets among other libraries:
So, I can't see any bug or problem on Drumstick or VMPK.
So, you may be right blaming GCC 13, which may be buggy. But anyway, Qt6 supported platforms only lists GCC 9, 10 and 11 at this moment: https://doc.qt.io/qt-6/linux.html
I've just now built VMPK with GCC 12 with correct results right now, though. I will try newer compilers later.
I can't change gcc in Debian, as gcc 13 is the defaults.
vmpk is build with QT5
A build with QT6 solve this issue
For Qt5, the supported compilers are GCC-5 to GCC-10: https://doc.qt.io/qt-5/linux.html
Beware that building Drumstick with Qt6 requires the Core5Compat module for Drumstick::File, https://doc.qt.io/qt-6/qtcore5-index.html
Recompiling Drumstick with Qt6, you will need to recompile also the other Drumstick programs.
Yes, I already built drumstick with Qt6 hence this error.
For packages dependencies, isn't a problem as I built at least one package under a chroot and I'll quickly see if a dependency is missing.
Thanks got your work.
I've just now built drumstick 2.8 and vmpk 0.8.9, both with Qt 5.15 and GCC 13.1.1 in Fedora 38. It produced a few warnings, but worked well.
Last edit: Pedro Lopez-Cabanillas 2023-07-23
So, the problem is that you have built Drumstick with Qt6, but then you tried to build VMPK with Qt5. This should be detected earlier at configure time, when running CMake, instead of producing an error at compile/link time.
This looks like a common problem. For instance, in AUR (Arch Linux) kmetronome
Drumstick 2.8.1 will have a check, with a specific error message: [drumstick:git:914aad]
Related
Commit: [914aad]