Help!Can't use OgreODE with Ogre 1.4.9

iamogre

09-12-2008 10:03:25

Hello everyone,I am using ogre1.4.9,ODE 0.10 and OgreODE(26 October 2007) ,I succeed to use ogre and ODE seperately,and i can compile OgreODE with ogre and ODE together,but when i try to compile the three samples of the OgreODE(Simple scene,Landscape and GranTurismOgre) ,
i get the following errors:

GranTurismOgre.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: struct OIS::MouseState const & __thiscall OIS::Mouse::getMouseState(void)const " (__imp_?getMouseState@Mouse@OIS@@QBEABUMouseState@2@XZ)
GranTurismOgre.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: bool __thiscall OIS::MouseState::buttonDown(enum OIS::MouseButtonID)const " (__imp_?buttonDown@MouseState@OIS@@QBE_NW4MouseButtonID@2@@Z)
GranTurismOgre.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: static void __cdecl OIS::InputManager::destroyInputSystem(class OIS::InputManager *)" (__imp_?destroyInputSystem@InputManager@OIS@@SAXPAV12@@Z)
GranTurismOgre.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: static class OIS::InputManager * __cdecl OIS::InputManager::createInputSystem(class std::multimap<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >,struct std::less<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > >,class std::allocator<struct std::pair<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const ,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > > > > &)" (__imp_?createInputSystem@InputManager@OIS@@SAPAV12@AAV?$multimap@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@V12@U?$less@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@2@V?$allocator@U?$pair@$$CBV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@V12@@std@@@2@@std@@@Z)


Who can tell me why, and tell me whether can i use ogre1.4.9 with OgreODE(26 October 2007) ? Thanks a lot!

iamogre

09-12-2008 10:22:14

and where can i get the ogre 1.4.5 or earlier release? Please help me.

rewb0rn

10-12-2008 00:23:44

need to link against ois

iamogre

10-12-2008 04:27:14

Thank you ,rewb0rn,i will try it,you are so fine and efficient!