I would like to write externals using c++ and Xcode. I came across flext which is a very good solution, but a) I was not able to build it on my system and I do not need the overhead of included MAX/MSP compatibility.
using extern "C" i managed to do the first step:
extern "C" void helloworld_setup(void)
// .... = class_new( .....);
this is compiled as c++.
pd is posting "AH JEAH!!" as expected, but recompilation using "class_new" xcode tells me "error: no matching function call to 'class_new'. here my technical knowledge ends.
is there a "lightweight" solution writing an external in c++ just for pd?