|
我下载了一个ogreopcode,然后进行编译,出来一些莫名其妙的错误,这是什么原因造成的?下面是错误:
正在生成代码...
1>正在链接...
1> 正在创建库 ..\bin\Release/OgreOpcode.lib 和对象 ..\bin\Release/OgreOpcode.exp
1>OgreCollisionManager.obj : error LNK2019: 无法解析的外部符号 "public: virtual __thiscall OgreOpcode::CapsuleMeshCollisionShape::~CapsuleMeshCollisionShape(void)" (??1CapsuleMeshCollisionShape@OgreOpcode@@UAE@XZ),该符号在函数 "public: virtual void * __thiscall OgreOpcode::CapsuleMeshCollisionShape::`scalar deleting destructor'(unsigned int)" (??_GCapsuleMeshCollisionShape@OgreOpcode@@UAEPAXI@Z) 中被引用
1>OgreOpcodeCharacterController.obj : error LNK2001: 无法解析的外部符号 "public: virtual __thiscall OgreOpcode::CapsuleMeshCollisionShape::~CapsuleMeshCollisionShape(void)" (??1CapsuleMeshCollisionShape@OgreOpcode@@UAE@XZ)
1>OgreCollisionManager.obj : error LNK2001: 无法解析的外部符号 "public: virtual bool __thiscall OgreOpcode::CapsuleMeshCollisionShape::refit(void)" (?refit@CapsuleMeshCollisionShape@OgreOpcode@@UAE_NXZ)
1>OgreOpcodeCharacterController.obj : error LNK2001: 无法解析的外部符号 "public: virtual bool __thiscall OgreOpcode::CapsuleMeshCollisionShape::refit(void)" (?refit@CapsuleMeshCollisionShape@OgreOpcode@@UAE_NXZ)
1>OgreCollisionManager.obj : error LNK2001: 无法解析的外部符号 "public: virtual bool __thiscall OgreOpcode::CapsuleMeshCollisionShape::load(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,class Ogre::SceneNode *,float,float,int,int)" (?load@CapsuleMeshCollisionShape@OgreOpcode@@UAE_NABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@PAVSceneNode@Ogre@@MMHH@Z)
1>OgreOpcodeCharacterController.obj : error LNK2001: 无法解析的外部符号 "public: virtual bool __thiscall OgreOpcode::CapsuleMeshCollisionShape::load(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,class Ogre::SceneNode *,float,float,int,int)" (?load@CapsuleMeshCollisionShape@OgreOpcode@@UAE_NABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@PAVSceneNode@Ogre@@MMHH@Z)
1>OgreCollisionManager.obj : error LNK2001: 无法解析的外部符号 "protected: virtual bool __thiscall OgreOpcode::CapsuleMeshCollisionShape::rebuild(void)" (?rebuild@CapsuleMeshCollisionShape@OgreOpcode@@MAE_NXZ)
1>OgreOpcodeCharacterController.obj : error LNK2019: 无法解析的外部符号 "protected: virtual bool __thiscall OgreOpcode::CapsuleMeshCollisionShape::rebuild(void)" (?rebuild@CapsuleMeshCollisionShape@OgreOpcode@@MAE_NXZ),该符号在函数 "public: __thiscall OgreOpcode::MeshCollisionShape::MeshCollisionShape(class OgreOpcode::MeshCollisionShape const &)" (??0MeshCollisionShape@OgreOpcode@@QAE@ABV01@@Z) 中被引用
1>OgreCollisionManager.obj : error LNK2001: 无法解析的外部符号 "protected: virtual bool __thiscall OgreOpcode::CapsuleMeshCollisionShape::_refitToCachedData(void)" (?_refitToCachedData@CapsuleMeshCollisionShape@OgreOpcode@@MAE_NXZ)
1>OgreOpcodeCharacterController.obj : error LNK2001: 无法解析的外部符号 "protected: virtual bool __thiscall OgreOpcode::CapsuleMeshCollisionShape::_refitToCachedData(void)" (?_refitToCachedData@CapsuleMeshCollisionShape@OgreOpcode@@MAE_NXZ)
1>OgreCollisionManager.obj : error LNK2001: 无法解析的外部符号 "protected: virtual bool __thiscall OgreOpcode::CapsuleMeshCollisionShape::_rebuildFromCachedData(void)" (?_rebuildFromCachedData@CapsuleMeshCollisionShape@OgreOpcode@@MAE_NXZ)
1>OgreOpcodeCharacterController.obj : error LNK2001: 无法解析的外部符号 "protected: virtual bool __thiscall OgreOpcode::CapsuleMeshCollisionShape::_rebuildFromCachedData(void)" (?_rebuildFromCachedData@CapsuleMeshCollisionShape@OgreOpcode@@MAE_NXZ)
1>OgreCollisionManager.obj : error LNK2019: 无法解析的外部符号 "public: __thiscall OgreOpcode::CapsuleMeshCollisionShape::CapsuleMeshCollisionShape(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)" (??0CapsuleMeshCollisionShape@OgreOpcode@@QAE@ABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z),该符号在函数 "protected: class OgreOpcode::ICollisionShape * __thiscall OgreOpcode::CollisionManager::createShape(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,enum OgreOpcode::ShapeType)" (?createShape@CollisionManager@OgreOpcode@@IAEPAVICollisionShape@2@ABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@W4ShapeType@2@@Z) 中被引用
1>..\bin\Release/OgreOpcode.dll : fatal error LNK1120: 7 个无法解析的外部命令
|
|