alright, been trying to get the handlers thing up and running.
had to remove #include "u8g2/U8g2LinuxI2C.h"
from osc-handlers.h
because of multiple definitions.
in the end, still getting this error:
no matching function for call to 'handleProject0' column: 11, line: 506
/root/Bela/projects/O2OPepperSplit/main.cpp:506:11: error: no matching function for call to 'handleProject0'
error = handleProject0(u8g2, args);
^~~~~~~~~~~~~~
/root/Bela/projects/O2OPepperSplit/osc-handlers.h:10:12: note: candidate function not viable: no known conversion from 'oscpkt::Message::ArgReader' to 'const oscpkt::Message' for 2nd argument
enum Error handleProject0(U8G2& u8g2, const oscpkt::Message& msg);
^
1 error generated.
make: *** [/root/Bela/projects/O2OPepperSplit/build/main.o] Error 1
wish i knew how to solve this myself, but can someone hold my hand on this one as well?