- Edited
I have now reverted to my old render.cpp, and the I2CMPR121 files, adapted the library paths and now I get this error:
no matching function for call to 'sys_doio' column: 3, line: 343
/root/Bela/projects/Electret_test/render.cpp:343:3: error: no matching function for call to 'sys_doio'
sys_doio(pd_that);
~~~
/usr/local/include/libpd/s_stuff.h:168:6: note: candidate function not viable: requires 0 arguments, but 1 was provided
void sys_doio();
^
1 error generated.
make: *** [/root/Bela/projects/Electret_test/build/render.o] Error 1
Line 343 gives:
#ifdef PD_THREADED_IO
void fdLoop(void arg){
t_pdinstance pd_that = (t_pdinstance)arg;
while(!gShouldStop){
sys_doio(pd_that);
usleep(3000);
}
}
#endif / PD_THREADED_IO */