Unhandled Exception Creating BasicFrameListener

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:

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.

oddrose

29-07-2007 15:49:24

I get an identical error....any news on this?

This occurs only on the Head branch of the cvs-version on Ogre...not the SDK

oddrose

29-07-2007 16:10:45

okay, I solved it...

and it had to do with the dependencies of Ogre CVS.

I rebuild OgreNewt(cvs version) with the latest ogre dependencies and voila. It worked.