I'm working on a iOS project which as several c++ class. But as it seems compiling them are not straightforwards. I tired different methods but all the time give some errors.
1) First I renamed .m;class to .mm and try to compile and it gives a error. in this line
SInt16 *editBuffer = audioBufferList->mBuffers[0].mDat;
Error - "Cannot initialize a variable of type 'SInt16 *' (aka 'short *') with an lvalue of type 'void *'"
2) When setting Other Linker Flags to -ObjC++ it gives these two errors. Unknown type name 'class'; did you mean 'Class'?
'deque' file not found - for #include<deque>
Anyone has any idea , what's wrong here. Thanks in advance.