Ogrenewt Demos Successfully running on OS X

wangli_rei

31-07-2007 06:42:45

Finally, I got the Ogrenewt Demo run on OS X. (Tiger 10.4.7, XCode 2.4.1).
Now I just compiled it into a debug version. Everything works normally except debug lines, I must delete the following code
if (mKeyboard->isKeyDown(OIS::KC_F3))
{
Debugger::getSingleton().showLines( m_World );
}
else
{
Debugger::getSingleton().hideLines();
}

Because I found there is always runtime error when including this code, maybe there is something wrong with the STL on GNU (I guess).
After making the OgreMain into .a and link it when compiling the demos, they can run normally.