nickgravelyn
15-06-2007 19:25:39
I'm back into Ogre trying to get everything working, but I'm getting an error here:
mNewtonListener = new BasicFrameListener(mWindow, mSceneMgr, mWorld, 120);
when I run it I get this popup:
Unhandled exception at 0x004517fd in Cubism.exe: 0xC0000005: Access violation writing location 0x0000000f.
Any idea why? When it breaks it takes me to this line:
which is called from here:
pl.insert(std::make_pair(std::string("WINDOW"), windowHndStr.str()));
which is in the BasicFrameListener constructor. Any help is greatly appreciated.
mNewtonListener = new BasicFrameListener(mWindow, mSceneMgr, mWorld, 120);
when I run it I get this popup:
Unhandled exception at 0x004517fd in Cubism.exe: 0xC0000005: Access violation writing location 0x0000000f.
Any idea why? When it breaks it takes me to this line:
template<class _Ty1,
class _Ty2> inline
pair<_Ty1, _Ty2> make_pair(_Ty1 _Val1, _Ty2 _Val2)
{ // return pair composed from arguments
return (pair<_Ty1, _Ty2>(_Val1, _Val2)); <-------this line here
}which is called from here:
pl.insert(std::make_pair(std::string("WINDOW"), windowHndStr.str()));
which is in the BasicFrameListener constructor. Any help is greatly appreciated.