编译cocos的源码失败,提示下面两个错误

严重性 代码 说明 项目 文件 行 禁止显示状态
错误 LNK2019 无法解析的外部符号 “public: __thiscall b2Draw::b2Draw(void)” (??0b2Draw@@QAE@XZ),该符号在函数 “public: __thiscall creator::PhysicsDebugDraw::PhysicsDebugDraw(void)” (??0PhysicsDebugDraw@creator@@QAE@XZ) 中被引用 libcocos2d D:\CocosCreator\resources\cocos2d-x\cocos\2d\CCPhysicsDebugDraw.obj 1
错误 LNK2019 无法解析的外部符号 “public: void __thiscall b2WorldManifold::Initialize(struct b2Manifold const *,struct b2Transform const &,float,struct b2Transform const &,float)” (?Initialize@b2WorldManifold@@QAEXPBUb2Manifold@@ABUb2Transform@@M1M@Z),该符号在函数 "public: void __thiscall b2Contact::GetWorldManifold(struct b2WorldManifold *)const " (?GetWorldManifold@b2Contact@@QBEXPAUb2WorldManifold@@@Z) 中被引用 libcocos2d D:\CocosCreator\resources\cocos2d-x\cocos\2d\CCPhysicsUtils.obj 1