[SOLVED] Switch to 1.7 final -> runtime crash

Thrakbad

01-03-2010 14:31:00

I just switched from 1.7.0RC1 ti 1.7 final. After recompiling everything with the new Ogre libraries I rebuilt my game and there were no errors. But when I run it, it crashes. In Debug mode I can see the crash occurs at this line in GodRaysManager::create
mProjectorCamera->setNearClipDistance(8);
The exact Error is:
Run-Time Check Failure #0 - The value of ESP was not properly saved across a function call. This is usually a result of calling a function declared with one calling convention with a function pointer declared with a different calling convention.
I realize this has something to do with how the functions are declared in the dll, but I don't have a clue of what that means myself.

Thrakbad

01-03-2010 16:22:37

Nevermind...I rebuilt it once more and the error disappeared. Propably something still linked against the old version.