NxOgre physics samples crash

aspilicious

19-02-2011 19:01:57

Hi all,

We are trying to use NxOgre for our racing game we are developping as a university project.
I would like to run the physics examples but they crash. And I don't get any usefull information while debugging it.

Steps I followed. (visual studio 2010)

- Installed Ogre, configured the paths
- Compiled the samples (debug+release) ==> Tested the examples ==> worked

- Compiled nxOgre (debug + release).
==> I had to rename the NxOgre.lib to NxOgreDebug.lib after compiling in debug (maybe that is a mistake)

- Tested NxOgre by putting #include "NxOgre.h" into our ogre project. Everything build perfectly (debug+release) ==> debug mode had some warnings
- Compiled critter(had to turn off compiler optimazations in order to be able to compile things)
- Compiled the examples without any problems

- I can select all the physics examples, but I get an "unhandled exception error"

Questions:
-------------
1) does this mean my nxogre/critter installation is corrupt?
2) does someone know a good way to debug this?

betajaen

19-02-2011 20:34:07

If your using PhysX 2.8.4, then you need to copy the PhysX Dlls (PhysXDirectory/bin/PhysX*.dll (not Checked)) into your applications directory. The BuggySwires tutorials does this automatically now, but the Detritus versions doesn't.

aspilicious

19-02-2011 22:03:54

Great that work for most of the examples.
But I got the same issue from: viewtopic.php?f=6&t=14043

Anyway, now I'm sure the libraries are compiled like they should be :)

betajaen

19-02-2011 22:44:40

I don't know why the cloth samples have suddenly stopped working. But the 117 is a known issue, nothing to do with NxOgre or Ogre, it's my implementation of Terrain in that Sample.