OgreNewt update crash with MinGW

Nogitsune

23-02-2008 21:30:08

OgreNewt crashes with a segmentation fault at the first:

m_World->update( m_update );

in OgreNewt_BasicFrameListener.cpp.

All I have in my app is a few static tree collision objects (and removing these does not make a difference).

I am currently using Code::Blocks with MinGW C++ Toolkit.
I read somewhere in the forum about a similar problem in Linux that would be corrected by adding:

NewtonSetPlatformArchitecture(m_world, 0);


to the OgreNewt::World constructor.. but this does not make any difference.

Any ideas what could be wrong?