GTK3 with --enable-midi errors out with undefined reference to 'midi_widget_create'..
F:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/10.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: ../src/arch/gtk3/libarch.a(uisettings.o):uisettings.c:(.data+0x2db0): undefined reference to `midi_widget_create'
F:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/10.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: ../src/arch/gtk3/libarch.a(uisettings.o):uisettings.c:(.data+0x30f0): undefined reference to `midi_widget_create'
F:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/10.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: ../src/arch/gtk3/libarch.a(uisettings.o):uisettings.c:(.data+0x3470): undefined reference to `midi_widget_create'
F:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/10.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: ../src/arch/gtk3/libarch.a(uisettings.o):uisettings.c:(.data+0x37f0): undefined reference to `midi_widget_create'
collect2.exe: error: ld returned 1 exit status
as said in #1294, i put the midi widget stuff into #ifdef HAVE_MIDI in r38653 - so perhaps there is something wrong with the buildsystem defining this?
Fixed in r38657. The HAVE_MIDI check happened before #include "config.h", so HAVE_MIDI wasn't defined.
Yes, all's working good.
Thanks for the quick fix, once again.
You're welcome. And thanks for actually noticing the bug, haven't used --enable-midi for a long time =)