I'm getting the included error when attempting to adapt my max external innards to Bela. I'm wondering if it's because of my use of LLVM? I'm a little stupid when it comes to the compilation process as all I've done so far is copy MaxMSP external example projects. Is there a solution here? I saw it suggested that I cross compile? Is there a guide on that?
In file included from /root/Bela/projects/MidiExp/P2ot.cpp:8:
/root/Bela/projects/MidiExp/P2ot.hpp:417:25: error: no matching function for call to 'remove'
lookHere->erase(remove(lookHere->begin(), lookHere->end(),(const P2OT*) unregisterMe), lookHere->end());
^~~~~~
/usr/include/stdio.h:180:12: note: candidate function not viable: requires single argument '__filename', but 3 arguments were provided
extern int remove (const char *__filename) __THROW;
^
1 error generated.
make: *** [/root/Bela/projects/MidiExp/build/P2ot.o] Error 1