Run-Time Error With OGRE

CMK2901

06-10-2007 05:10:09

Hi,

I'm currently working on a project with a team, and someone on the team recently implemented PhysX in the project...the revision was committed to SVN, and it has been run on several computers with no problems.

However, on my computer, of course, I get a runtime error when the program is on the load screen:

---------------------------
Unable to start the PhysX SDK!
---------------------------
Unable to start the PhysX SDK!

Possible problems:

1. Do you have the SystemSoftware.exe installed?
http://www.ageia.com/drivers/


2. Does the System software support the NxOgre version you have?
PhysX DLL version: 2.7.2


3. Are you using the latest version of NxOgre?
NxOgre 0.9-34.Debug
Most recent versions are at http://get.nxogre.org/



Version information:
- PhysX => 2.7.2
- NxOgre => NxOgre 0.9-34.Debug
- Ogre => 1.4.4 'Eihort'.
- Platform => Windows Debug

On clicking of OK this Application will quit. See log or console window for more information.

Now, this has been brought up several times, and I did check with the search function, but I have downloaded the Software-Tools/Driver files (most recent ones) at the website. However, the problem persists. Are there any other reasons this would be showing up? Are there things I need to link in Visual Studio 8? I'm afraid I'm not too familiar with Visual Studio's interface, so if that is the problem, I'd appreciate some detailed instructions as to where I need to put stuff.

Thanks in advance!

CMK2901

06-10-2007 21:20:56

This error appears in "NxOgrePhysXDriver.h" in PhysXDriver::_createSDK().

It seems that the call to NxCreatePhysicsSDK is returning NULL for some reason...any ideas??? I've installed the software tools and the SDK and created an environment variable to PHYSX_DIR...nothing seems to be working. :x

betajaen

06-10-2007 21:27:12

Nothing to do with NxOgre at all. It's the SystemSoftware and PhysX SDK combo not seeing each other.

Try un-installing them both, delete any remaining Ageia directories and lost keys in the registry. Then install them back again; Double Check that your using the latest SystemSoftware and the latest SDK.

CMK2901

06-10-2007 21:36:16

Alright, good to know. :) Is there something I have to do to be sure that the PhysX SDK and the SystemSoftware can see each other? Do they need to be installed in the same directory, or is there a certain value I have to change so that the two acknowledge each other?

betajaen

06-10-2007 21:56:20

Nope it's automatic. You should install the SystemSoftware first though.

PueloGames

09-02-2008 13:17:10

i have a run time erro too, i'm noob with nxogre and when add this two lines my game crash
mWorld = new NxOgre::World();
mScene = mWorld->createScene("Escena", mSceneMgr, "gravity: yes, floor: yes"); :cry:

PueloGames

26-02-2008 06:20:28

the dlls was wrong, now works fine