Shion
18-04-2007 19:26:39
Hi,
i will use ogrenewt and newton in my "game".
I use the gamestate classes from the wiki:
http://www.ogre3d.org/wiki/index.php/Ma ... _with_OGRE
additional i use an OIS Input Manager.
But if i use the following code, i become an linker error.
I have added all needed libs:
newton.lib
OgreMain_d.lib
OIS_d.lib
CEGUIBase_d.lib
OgreGUIRenderer_d.lib
OgreNewt_Main_d.lib
It looks like the Linker miss a function in the OgreNewt_Main_d.lib,
but what can i do?
In release mode is the same problem.
I can compile all Demo programs, but not my program.
I don't know what i can do against linker errors..
If you need more informations, say it. ^^
BTW:
As i have registered me,
i have become this message with all my web.de mail addys:
"Sorry, but this e-mail address has been banned."
Why?
i will use ogrenewt and newton in my "game".
I use the gamestate classes from the wiki:
http://www.ogre3d.org/wiki/index.php/Ma ... _with_OGRE
additional i use an OIS Input Manager.
But if i use the following code, i become an linker error.
void Menu::Init()
{
//....
mWorld = new OgreNewt::World();
// the following line release the linker error
mOgreNewtListener = new OgreNewt::BasicFrameListener(mRenderWindow, mSceneMgr, mWorld, 60);
mRoot->addFrameListener(mOgreNewtListener);
//.....
}
OgreNewt_Main_d.lib(OgreNewt_Debugger.obj) : error LNK2001: unresolved external symbol "public: virtual class Ogre::ManualObject::ManualObjectSection * __thiscall Ogre::ManualObject::end(void)" (?end@ManualObject@Ogre@@UAEPAVManualObjectSection@12@XZ)
Debug/Kompex.exe : fatal error LNK1120: 1 unaufgelöste externe Verweise
I have added all needed libs:
newton.lib
OgreMain_d.lib
OIS_d.lib
CEGUIBase_d.lib
OgreGUIRenderer_d.lib
OgreNewt_Main_d.lib
It looks like the Linker miss a function in the OgreNewt_Main_d.lib,
but what can i do?
In release mode is the same problem.
I can compile all Demo programs, but not my program.
I don't know what i can do against linker errors..
If you need more informations, say it. ^^
BTW:
As i have registered me,
i have become this message with all my web.de mail addys:
"Sorry, but this e-mail address has been banned."
Why?