环境,cocos2dx2.2.5,eclipse luno版本,NDK :android-ndk-r9, SDK android 2.2;
在vs2010下调试完成,移植到android下,build通过。
run as android application的时候,eclipse提示出错。
看了一下eclipse提示的错误
Multiple markers at this line
- Type ‘cpSpace’ could not be
resolved
- Type ‘cpArbiter’ could not be
resolved
Unresolved inclusion: “chipmunk.h”
- Type ‘std::string’ could not be
resolved
基本就这几种错误,一个是和chipmunk相关的,再一次是认为std::string无法解析
请教各位大侠,需要配置一些什么么?
在jni/application.mk中我看到有-DCC_ENABLE_CHIPMUNK_INTEGRATION=1,我理解的是CC_ENABLE_CHIPMUNK_INTEGRATION这个宏已经配置了,应该可以使用chipmunk相关的东西了?
可是为什么还是会有错误提示了?

