码迷,mamicode.com
首页 > 其他好文 > 详细

cocos2d-x andriod, Box2D.h: No such file or directory

时间:2017-05-19 10:05:49      阅读:234      评论:0      收藏:0      [点我收藏+]

标签:ddl   content   family   one   space   includes   cli   oid   double   

原文链接:http://www.cocos2d-x.org/forums/6/topics/47503?

r=47980

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

标签:ddl   content   family   one   space   includes   cli   oid   double   

原文地址:http://www.cnblogs.com/brucemengbm/p/6876563.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!