Problem allocating World

eferaga

06-02-2012 15:08:20

Hello i have a problem when i try to make the first tutorial of OgreNewt 2, in the constructor of the OgreNewtApplication in the next line of code.

Note: the error isnt at compile-time, it is at run-time

mWorld = new OgreNewt::World();

this is the error it gives me the next error:

Unhandled exception at 0x771315de in OgreApp.exe: 0xC0000005: Access violation reading location 0xcccccc00.

I tried debugging and it just gets the error passing the intruction, it works if i create it like a normal but i cant use the new operator =s, i hope you are able to help me, i would appreciate it too much.

Thanks

westsidazrhidaz

22-02-2012 01:43:05

I have the exact same problem...cant figure out why, anyone...?

Lax

24-05-2012 19:14:51

try:

m_World = new OgreNewt::World(60, 1);