I am using Cocos2d for a CoreAudio project. This project previously run well without Cocos2d.
I am getting erros when building that seem to indicate that my build does not tolerate C++files. I have tried to change the C++ file extension from ".cpp" to ".m". I was careful to select the GCC4.2 Compiler. But no luck.
Here is the error codes I get:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'CAStreamBasicDescription'
error: expected '=', ',', ';', 'asm' or '__attribute__' before '<' token
error: expected '=', ',', ';', 'asm' or '__attribute__' before '==' token
error: expected '=', ',', ';', 'asm' or '__attribute__' before '!=' token
error: expected '=', ',', ';', 'asm' or '__attribute__' before '<=' token
error: expected '=', ',', ';', 'asm' or '__attribute__' before '>=' token
error: expected '=', ',', ';', 'asm' or '__attribute__' before '>' token
error: expected ';', ',' or ')' before '&' token
Any idea. I am really stuck here. Thanks.