Hi, now I have changed to:
#if defined(ARDUINO) && ARDUINO >= 100
#include "Arduino.h"
#else
#include "WProgram.h"
#include "SimpleMessageSystem.h"
#endif
And I get these -> core.a(main.cpp.o): In function main': /Applications/Arduino.app/Contents/Resources/Java/hardware/arduino/cores/arduino/main.cpp:11: undefined reference to
setup'
/Applications/Arduino.app/Contents/Resources/Java/hardware/arduino/cores/arduino/main.cpp:14: undefined reference to `loop'
I am not sure that this avoids to work though, as seems that SuperCollider writes and reads to the platform, I am not 100% sure, I haven't yet managed to control any in the SC, but this might be other story. Nevertheless I would like to make the arduino side clean and no errors so I won't have any doubts then.
Thanks
K.