[Urgent] Bleeding 1.0.22T5 in Release Mode Crash

bigbob85

27-05-2009 06:26:37

Hey,
when I try run in release mode my game crashes.

I have recompiled the nxogre.dll and put it in the right directory, and double checked all my other build options. I had modified the wheelset code a little to get wheels to work right, but apart from that its all untouched.

http://img37.imageshack.us/img37/9899/errorv.jpg

Just wondering if anyone can point me in the right direction.

Im using the Debug/Release builds, should I maybe using Debug_Static and Release_Static ?

Here is my call line to make the body, looks a lil funky, but it works.
mBody = static_cast<NxOgre::Body*>(mNxScene->createBody<NxOgre::Body>("b_car_nx_"+id, shape, pos, nrp, "mass: 500"));

bigbob85

28-05-2009 05:15:25

Sorry to bump this, but does anyone know what could be up? My assignment is due tomorow morning and cant submit a debug copy.

EDIT: I did simple sample, and it crashed aswell.. :( I'll try get a fresh copy of NxOgre and try that. I know 1.0.22T5 works in release, because my friends runs fine in release mode.

EDIT2: I downloaded a fresh copy, renamed my old folder and put this folder in its place, so enviroment variables still match up, then re-built simple sample using my new release libs and new release dll's and it crashes still :(.

EDIT3: 1.0.21 worked fine... guess I'll use that, only a few different things to change, had to fix wheelset code in nxogre, and re-writing raycast in my game.

betajaen

28-05-2009 10:20:37

Alright. Just from that snippet there. Is "id" an integer or a string, because you can't do that if it's an integer. You should replace it with Ogre::StringConverter::toString(id)