[solved]Howto get the new versions compile properly

albino

22-02-2007 17:31:55

hi

heres my compile log with some errors
what to do to get it compiled

------ Build started: Project: OgreNewt_Main, Configuration: Debug_DLL Win32 ------
Linking...
OgreNewt_BasicFrameListener.obj : warning LNK4075: ignoring '/EDITANDCONTINUE' due to '/OPT:ICF' specification
Creating library lib\Debug_DLL\OgreNewt_Main_d.lib and object lib\Debug_DLL\OgreNewt_Main_d.exp
OgreNewt_BasicFrameListener.obj : error LNK2019: 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) referenced in function "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)
lib\Debug_DLL\OgreNewt_Main_d.dll : fatal error LNK1120: 1 unresolved externals
Build log was saved at "file://c:\OgreSDK\OgreNewt\OgreNewt_Main\obj\Debug_DLL\BuildLog.htm"
OgreNewt_Main - 2 error(s), 1 warning(s)
------ Skipped Build: Project: Demo08_RagdollExample, Configuration: Debug_DLL Win32 ------
Project not selected to build for this solution configuration
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 1 skipped ==========

walaber

22-02-2007 21:31:46

you need RC1 of Ogre 1.4.0 (Eihort), and the proper dependencies for that, because they have changed.

specifically, you need the "OIS" (input system) dependencies to link against.

albino

23-02-2007 09:49:36

oh i think i need the service pack 1 for the visual c++ 2005 express
dont have that yet

albino

23-02-2007 13:00:28

hmm.. now it is working i downloaded the OIS