midiinput.cpp:24:24: fatal error: stk/RtMidi.h: No such file or directory #include <stk/RtMidi.h> dpkg -L librtmidi-dev | grep RtMidi.h /usr/include/RtMidi.h dropping the 'stk' fixed the build for me.