I'm having problems with DarkPhysics, after spending about 2/3 hours getting the thing to work without link errors I now get an error when I run the release build. It works fine in the debug build so I don't know what's happening. Unfortunately I can't find out much information as there's no debugging, but I've attached a screenshot of the error anyway. Any help would be brilliant.
here's my source:
#include "DarkGDK.h"
#include "DarkPhysics.h"
void DarkGDK ( void )
{
dbSyncOn ( );
dbPhyStart( 0, 0, 1 );
while ( LoopGDK ( ) )
{
dbPhyUpdate (1);
dbSync ( );
}
}
EDIT: Now it's also doing it in debug mode. I'm getting the same error, just a different address, its now at 0x00d564ee instead of 0x012864ee. Also, the debugger is flagging that its the "While ( LoopGDK ( ) )" command that's doing it. again, any help would be much appreciated.