brummer10 / Mamba

Virtual Midi keyboard and Midi Live Looper for Jack Audio Connection Kit
BSD Zero Clause License
75 stars 5 forks source link

MidiKeyBoard.cpp:745:35: error: ‘menu_add_check_entry’ was not declared in this scope; #9

Closed mxmilkiib closed 3 years ago

mxmilkiib commented 3 years ago

Getting this currently:

...
cp libxputty.a ../libxputty/
make[2]: Leaving directory '/home/milk/.cache/yay/mamba-git/src/mamba/libxputty/Build'
make[1]: Leaving directory '/home/milk/.cache/yay/mamba-git/src/mamba/libxputty'
make[1]: Entering directory '/home/milk/.cache/yay/mamba-git/src/mamba/src'
g++ -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -O2 -D_FORTIFY_SOURCE=2 -Wall  MidiKeyBoard.cpp Mamba.cpp XJack.cpp NsmHandler.cpp xkeyboard.c -L. ../libxputty/libxputty/libxputty.a -o mamba -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -Wl,-z,noexecstack -I./ -I../libxputty/libxputty/include/ `pkg-config --cflags --libs jack cairo x11 sigc++-2.0 liblo smf` -lm -pthread
MidiKeyBoard.cpp: In member function ‘void midikeyboard::XKeyBoard::get_port_entrys(Widget_t*, jack_port_t*, JackPortFlags)’:
MidiKeyBoard.cpp:745:35: error: ‘menu_add_check_entry’ was not declared in this scope; did you mean ‘menu_add_check_item’?
  745 |                 Widget_t *entry = menu_add_check_entry(parent,port_list[i]);
      |                                   ^~~~~~~~~~~~~~~~~~~~
      |                                   menu_add_check_item
make[1]: *** [Makefile:97: Mamba] Error 1
make[1]: Leaving directory '/home/milk/.cache/yay/mamba-git/src/mamba/src'
make: *** [Makefile:26: src] Error 2
==> ERROR: A failure occurred in build().
brummer10 commented 3 years ago

Ups, I've forgotten to push the changes to libxputty. Thanks for the report, should be fixed now.