link error CCArmatureDefine.h on android.
Closed this issue · 1 comments
tangyiyang commented
链接错误。
编译hello world or test cpp on android.
CCArmatureDefine.h
define PHYSICS_TYPE 4
if PHYSICS_TYPE == 1
define ENABLE_PHYSICS_BOX2D_DETECT 1
define ENABLE_PHYSICS_CHIPMUNK_DETECT 0
define ENABLE_PHYSICS_SAVE_CALCULATED_VERTEX 0
elif PHYSICS_TYPE == 2
define ENABLE_PHYSICS_BOX2D_DETECT 0
define ENABLE_PHYSICS_CHIPMUNK_DETECT 1
define ENABLE_PHYSICS_SAVE_CALCULATED_VERTEX 0
elif PHYSICS_TYPE == 3
define ENABLE_PHYSICS_BOX2D_DETECT 0
define ENABLE_PHYSICS_CHIPMUNK_DETECT 0
define ENABLE_PHYSICS_SAVE_CALCULATED_VERTEX 1
else
// this macro should set to 1 to link
#define ENABLE_PHYSICS_BOX2D_DETECT 1
define ENABLE_PHYSICS_CHIPMUNK_DETECT 0
define ENABLE_PHYSICS_SAVE_CALCULATED_VERTEX 0
endif
stubma commented
fixed.
armature里面的物理碰撞我禁掉了, 用不上这玩意, 需要的话自己打开就成.