892613744
20-02-2009 01:42:27
MyOgrenewt is download from SVN,so it must be lastest edtion,when i compile ogrenewt with ogresdk1.6.0, I countered some problem:
1>OgreNewtonApplication.obj : error LNK2019: 无法解析的外部符号 "__declspec(dllimport) public: class Ogre::RenderWindow * __thiscall Ogre::Root::initialise(bool,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)" (__imp_?initialise@Root@Ogre@@QAEPAVRenderWindow@2@_NABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z),该符号在函数 "protected: virtual bool __thiscall ExampleApplication::configure(void)" (?configure@ExampleApplication@@MAE_NXZ) 中被引用
1>OgreNewtonApplication.obj : error LNK2019: 无法解析的外部符号 "__declspec(dllimport) public: __thiscall Ogre::Vector3::Vector3(class Ogre::Vector3 const &)" (__imp_??0Vector3@Ogre@@QAE@ABV01@@Z),该符号在函数 "public: __thiscall ExampleFrameListener::ExampleFrameListener(class Ogre::RenderWindow *,class Ogre::Camera *,bool,bool,bool)" (??0ExampleFrameListener@@QAE@PAVRenderWindow@Ogre@@PAVCamera@2@_N22@Z) 中被引用
1>OgreNewtonFrameListener.obj : error LNK2001: 无法解析的外部符号 "__declspec(dllimport) public: __thiscall Ogre::Vector3::Vector3(class Ogre::Vector3 const &)" (__imp_??0Vector3@Ogre@@QAE@ABV01@@Z)
1>SimpleVehicle.obj : error LNK2001: 无法解析的外部符号 "__declspec(dllimport) public: __thiscall Ogre::Vector3::Vector3(class Ogre::Vector3 const &)" (__imp_??0Vector3@Ogre@@QAE@ABV01@@Z)
1>OgreNewtonApplication.obj : error LNK2019: 无法解析的外部符号 "__declspec(dllimport) public: __thiscall Ogre::Quaternion::Quaternion(class Ogre::Quaternion const &)" (__imp_??0Quaternion@Ogre@@QAE@ABV01@@Z),该符号在函数 "protected: virtual void __thiscall OgreNewtonApplication::createScene(void)" (?createScene@OgreNewtonApplication@@MAEXXZ) 中被引用
1>SimpleVehicle.obj : error LNK2001: 无法解析的外部符号 "__declspec(dllimport) public: __thiscall Ogre::Quaternion::Quaternion(class Ogre::Quaternion const &)" (__imp_??0Quaternion@Ogre@@QAE@ABV01@@Z)
1>SimpleVehicle.obj : error LNK2019: 无法解析的外部符号 "__declspec(dllimport) public: void __thiscall Ogre::Entity::setNormaliseNormals(bool)" (__imp_?setNormaliseNormals@Entity@Ogre@@QAEX_N@Z),该符号在函数 "private: class OgreNewt::Body * __thiscall SimpleVehicle::makeSimpleBox(class Ogre::Vector3 &,class Ogre::Vector3 &,class Ogre::Quaternion &)" (?makeSimpleBox@SimpleVehicle@@AAEPAVBody@OgreNewt@@AAVVector3@Ogre@@0AAVQuaternion@5@@Z) 中被引用
1>../Bin/Release\Demo05_SimpleVehicle.exe : fatal error LNK1120: 4 个无法解析的外部命令
who can help me, thank you!
1>OgreNewtonApplication.obj : error LNK2019: 无法解析的外部符号 "__declspec(dllimport) public: class Ogre::RenderWindow * __thiscall Ogre::Root::initialise(bool,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)" (__imp_?initialise@Root@Ogre@@QAEPAVRenderWindow@2@_NABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z),该符号在函数 "protected: virtual bool __thiscall ExampleApplication::configure(void)" (?configure@ExampleApplication@@MAE_NXZ) 中被引用
1>OgreNewtonApplication.obj : error LNK2019: 无法解析的外部符号 "__declspec(dllimport) public: __thiscall Ogre::Vector3::Vector3(class Ogre::Vector3 const &)" (__imp_??0Vector3@Ogre@@QAE@ABV01@@Z),该符号在函数 "public: __thiscall ExampleFrameListener::ExampleFrameListener(class Ogre::RenderWindow *,class Ogre::Camera *,bool,bool,bool)" (??0ExampleFrameListener@@QAE@PAVRenderWindow@Ogre@@PAVCamera@2@_N22@Z) 中被引用
1>OgreNewtonFrameListener.obj : error LNK2001: 无法解析的外部符号 "__declspec(dllimport) public: __thiscall Ogre::Vector3::Vector3(class Ogre::Vector3 const &)" (__imp_??0Vector3@Ogre@@QAE@ABV01@@Z)
1>SimpleVehicle.obj : error LNK2001: 无法解析的外部符号 "__declspec(dllimport) public: __thiscall Ogre::Vector3::Vector3(class Ogre::Vector3 const &)" (__imp_??0Vector3@Ogre@@QAE@ABV01@@Z)
1>OgreNewtonApplication.obj : error LNK2019: 无法解析的外部符号 "__declspec(dllimport) public: __thiscall Ogre::Quaternion::Quaternion(class Ogre::Quaternion const &)" (__imp_??0Quaternion@Ogre@@QAE@ABV01@@Z),该符号在函数 "protected: virtual void __thiscall OgreNewtonApplication::createScene(void)" (?createScene@OgreNewtonApplication@@MAEXXZ) 中被引用
1>SimpleVehicle.obj : error LNK2001: 无法解析的外部符号 "__declspec(dllimport) public: __thiscall Ogre::Quaternion::Quaternion(class Ogre::Quaternion const &)" (__imp_??0Quaternion@Ogre@@QAE@ABV01@@Z)
1>SimpleVehicle.obj : error LNK2019: 无法解析的外部符号 "__declspec(dllimport) public: void __thiscall Ogre::Entity::setNormaliseNormals(bool)" (__imp_?setNormaliseNormals@Entity@Ogre@@QAEX_N@Z),该符号在函数 "private: class OgreNewt::Body * __thiscall SimpleVehicle::makeSimpleBox(class Ogre::Vector3 &,class Ogre::Vector3 &,class Ogre::Quaternion &)" (?makeSimpleBox@SimpleVehicle@@AAEPAVBody@OgreNewt@@AAVVector3@Ogre@@0AAVQuaternion@5@@Z) 中被引用
1>../Bin/Release\Demo05_SimpleVehicle.exe : fatal error LNK1120: 4 个无法解析的外部命令
who can help me, thank you!