*
Login | forgot password | register | register with OpenID Click here to register with OpenID
X

What is OpenID?

OpenID is an Internet-wide identity system that allows you to sign in to many websites with a single account.

With OpenID, your ID becomes a URL (e.g. http://username.myopenid.com/). You can get a free OpenID for example from myopenid.com.

For more information visit the official OpenID site.

(what is OpenID?)

Forums

45 Posts in 15 Topics by 16 members

Jump to:

General Discussion

If this is your first visit, you will need to register before you can post. However, you can browse all messages below.

Imaginary Game Engine » Forums » General Discussion » Error encountered when creating NxPhysicsSDK
Page: 1 go to end Reply
Author Topic: Error encountered when creating NxPhysicsSDK 968 views
  • 5parrowhawk
    5parrowhawk's avatar
    Community Member
    3 posts

    Error encountered when creating NxPhysicsSDK

    Hi all,

    Just started trying to get PhysX-sharp working, but I'm already running into problems.

    My code looks like this:

    NxPhysicsSDKDesc desc = new NxPhysicsSDKDesc();

    NxSDKCreateError errorCode = NxSDKCreateError.NXCE_NO_ERROR;

    gSDK = PhysXLoader.NxCreatePhysicsSDK(PhysXLoader.NX_PHYSICS_SDK_VERSION, desc, ref errorCode);

    if (gSDK == null)

    {

    System.Console.WriteLine("SDK create error ("+errorCode+").\nUnable to initialize the PhysX SDK, exiting the sample.");

    }

    When I run the program, it outputs the error code "NXCE_PHYSX_NOT_FOUND". However, I have already confirmed that the PhysX runtime (supporting 2.8.1) is installed and working on my machine; the PhysX demos in Control Panel run correctly.

    Can anyone suggest some help?

    Thanks.

    Last edited: 1 December 2008 at 7:22am

  • SeaEagle1
    SeaEagle1's avatar
    Administrator
    16 posts

    Re: Error encountered when creating NxPhysicsSDK

    Please check that:

    • PhysX-sharp is running in x86 mode if you're on a x64 system
    • PhysX.dll, PhysXLoader.dll, NxCharacter.dll and NxCooking.dll are in the same directory as PhysX-sharp

  • 5parrowhawk
    5parrowhawk's avatar
    Community Member
    3 posts

    Re: Error encountered when creating NxPhysicsSDK

    Thanks for the quick reply! All the DLLs are indeed in the correct locations as far as I can tell. I'm using the precompiled PhysX.NET.dll from physx-net-0.9.2; was that compiled targeting x86, or do I need to take the source and recompile it targeting x86?

  • SeaEagle1
    SeaEagle1's avatar
    Administrator
    16 posts

    Re: Error encountered when creating NxPhysicsSDK

    It's probably set to support both, since it's the start up exe that determines the used architecture. So just make sure your own exe is targetted at x86. If that doesn't work I'd recommend trying to remove and reinstall the PhysX system software, since the PhysXLoader doesn't seem to find it.

    (also just noticed this on the latest system software release: Runtime upgrade ONLY for AGEIA PhysX processors users. (New installations should install older PhysX system software such as version 8.09.04 – prior to installing this update))

    Last edited: 4 December 2008 at 11:47am

  • 5parrowhawk
    5parrowhawk's avatar
    Community Member
    3 posts

    Re: Error encountered when creating NxPhysicsSDK

    I'll look into doing that. Thanks again.

    968 views
go to top Reply

Currently Online:

There is nobody online.

Welcome to our latest member: jfreie