cocos2d-x andriod, Box2D.h: No such file or directory
Posted brucemengbm
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了cocos2d-x andriod, Box2D.h: No such file or directory相关的知识,希望对你有一定的参考价值。
原文链接:http://www.cocos2d-x.org/forums/6/topics/47503?
You need to include like this
1 | #include "Box2D/Box2D.h" |
Because external/Box2D/android.mk
exported
path like this
LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH)/..
And you can comment the lib you don‘t use, such as chipmunk
.
I think you don‘t need Box2D and chipmunk at the same time.
Right?
以上是关于cocos2d-x andriod, Box2D.h: No such file or directory的主要内容,如果未能解决你的问题,请参考以下文章
cocos2d-x 2.0下怎样让BOX2D DEBUG DRAW的方法笔记
实例介绍Cocos2d-x中Box2D物理引擎:HelloBox2D
一个基于cocos2d-x 3.0和Box2d的demo小程序
cocos2d-x 移植到android中编译的一些问题:fatal error: Box2D/Box2D.h: No such file or directory"