0
0

For some reason I can’t include #import "fmod.hpp" in any .h file. I can include it in my .m files but when I try to include it in a .h, I get several parse issue errors in fmod.hpp such as –

../FMOD_API/api/inc/fmod.hpp:20:1: error: unknown type name ‘namespace’ [1]

../FMOD_API/api/inc/fmod.hpp:20:15: error: expected ‘;’ after top level declarator [1]

../FMOD_API/api/inc/fmod.hpp:20:1: error: unknown type name ‘namespace’ [1]

../FMOD_API/api/inc/fmod.hpp:20:15: error: expected ‘;’ after top level declarator [1]

../FMOD_API/api/inc/fmod.hpp:20:1: error: unknown type name ‘namespace’ [1]

../FMOD_API/api/inc/fmod.hpp:20:15: error: expected ‘;’ after top level declarator [1]

../FMOD_API/api/inc/fmod.hpp:20:1: error: unknown type name ‘namespace’ [1]

../FMOD_API/api/inc/fmod.hpp:20:15: error: expected ‘;’ after top level declarator [1]

  • You must to post comments
0
0

fmod.hpp is our C++ header file. For code that uses ObjC make sure any code files that includes C++ either directly or indirectly through other headers have the extension ‘mm’ not ‘m’. Basically the extension ‘m’ is for C and ObjC code, ‘mm’ is for C, C++ and ObjC.

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.