Jallen
27-01-2008 11:31:20
I have been following the OgreNewt tutorial, adding everything to my project, and i'm pretty sure everything is placed correctly. However when i do this:
mRoot->addFrameListener( mOgreNewtListener );
^ This line breaks to a file called c:\program files\microsoft visual studio 8\vc\include\utility. All of the code in the createScene function does not show any bad values while debugging.
I get an access violation reading location error and it appears that _Val2 in the utility file is the bad pointer (says so in the autos window)
I am using VC++2005 Express.
Please help, I really can't proceed until i get this down and i don't have a clue...
Thanks, Jallen.
Oh yeah, I'm not doing this:
mOgreNewtListener = new OgreNewt::BasicFrameListener( mWindow, cam, mgr, mWorld, 120 );
like the tutorial says, because i just cant compile, it says no overloaded member function takes 5 arguments.
Oh, and im not using ExampleApplication.h
mOgreNewtListener = new OgreNewt::BasicFrameListener( mWindow, mgr, mWorld, 120 );
mRoot->addFrameListener( mOgreNewtListener );
mRoot->addFrameListener( mOgreNewtListener );
^ This line breaks to a file called c:\program files\microsoft visual studio 8\vc\include\utility. All of the code in the createScene function does not show any bad values while debugging.
I get an access violation reading location error and it appears that _Val2 in the utility file is the bad pointer (says so in the autos window)
I am using VC++2005 Express.
Please help, I really can't proceed until i get this down and i don't have a clue...
Thanks, Jallen.
Oh yeah, I'm not doing this:
mOgreNewtListener = new OgreNewt::BasicFrameListener( mWindow, cam, mgr, mWorld, 120 );
like the tutorial says, because i just cant compile, it says no overloaded member function takes 5 arguments.
Oh, and im not using ExampleApplication.h