chris001
11-06-2009 09:10:46
When I try to use newton in OGRE, I find a problem. Describe as below:
I can compile the program in Debug Mode. But when I run the .exe, there occer a "runtime Error"! So, I try to debug it, I find the error occur in the below code:
I also try to compile the program in Release Mode. But Erroe. As below:
I need your help. Thank you very much!
I can compile the program in Debug Mode. But when I run the .exe, there occer a "runtime Error"! So, I try to debug it, I find the error occur in the below code:
m_NewtonListener = new OgreNewt::BasicFrameListener( mWindow, mSceneMgr, m_World, 120 );I also try to compile the program in Release Mode. But Erroe. As below:
OgreApp.obj : error LNK2019: 无法解析的外部符号 "public: __thiscall OgreNewt::BasicFrameListener::BasicFrameListener(class Ogre::RenderWindow *,class Ogre::SceneManager *,class OgreNewt::World *,int)" (??0BasicFrameListener@OgreNewt@@QAE@PAVRenderWindow@Ogre@@PAVSceneManager@3@PAVWorld@1@H@Z) ,该符号在函数 "protected: virtual void __thiscall OgreMFCApp::OgreMFCExampleApp::createFrameListener(void)" (?createFrameListener@OgreMFCExampleApp@OgreMFCApp@@MAEXXZ) 中被引用
OgreMfcView.obj : error LNK2019: 无法解析的外部符号 "public: __thiscall OgreNewt::World::World(void)" (??0World@OgreNewt@@QAE@XZ) ,该符号在函数 "public: __thiscall OgreMFCApp::OgreMFCExampleApp::OgreMFCExampleApp(unsigned long,unsigned long)" (??0OgreMFCExampleApp@OgreMFCApp@@QAE@KK@Z) 中被引用
OgreMfcView.obj : error LNK2019: 无法解析的外部符号 "public: __thiscall OgreNewt::World::~World(void)" (??1World@OgreNewt@@QAE@XZ) ,该符号在函数 "public: virtual __thiscall OgreMFCApp::OgreMFCExampleApp::~OgreMFCExampleApp(void)" (??1OgreMFCExampleApp@OgreMFCApp@@UAE@XZ) 中被引用
E:\CHRIS\Programming\ogretest\OgreSDK\bin\Release/OgreSceneEditor.exe : fatal error LNK1120: 3 个无法解析的外部命令I need your help. Thank you very much!