Welcome
Welcome to xnaquickstart

You are currently viewing our boards as a guest, which gives you limited access to view most discussions and access our other features. By joining our free community, you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content, and access many other special features. Registration is fast, simple, and absolutely free, so please, join our community today!

trunc misses a file

If you think you've found a bad bug in the framework, post here

Moderators: Coordinators, Developers

trunc misses a file

Postby Riki on Tue Dec 23, 2008 1:16 pm

After checking out the source from the trunc VS complains while compiling the PhysX project that the NxPhysics.h is missing!
Is this a part of the AGEIA PhysX SDK or a of the QuickStart project? I already have the PhysX runtime but not the SDK.
User avatar
Riki
Beginner
 
Posts: 21
Joined: Tue Dec 23, 2008 12:28 pm
Location: Croatia

Postby Riki on Sat Dec 27, 2008 12:18 pm

The problem was that the PhysX project needs the AEGIA SDK, so anyone having the same problem should:
1) download & install the SDK
2) check where the SDK is located , on my machine it is in C:\Program Files\NVIDIA Corporation\NVIDIA PhysX SDK\v2.8.1\SDKs\
3) add additional 4 directories in the C/C++ section. In my case those where:
C:\Program Files\NVIDIA Corporation\NVIDIA PhysX SDK\v2.8.1\SDKs\Cooking\include
C:\Program Files\NVIDIA Corporation\NVIDIA PhysX SDK\v2.8.1\SDKs\PhysXLoader\include
C:\Program Files\NVIDIA Corporation\NVIDIA PhysX SDK\v2.8.1\SDKs\Physics\include
C:\Program Files\NVIDIA Corporation\NVIDIA PhysX SDK\v2.8.1\SDKs\Foundation\include
4) Try compiling... if the linker complains about not being able to open some libs go to the linker section and inthe input section adjust the NxCooking and Physicsloader paths to match the real location. Again in my case it is:
C:\Program Files\NVIDIA Corporation\NVIDIA PhysX SDK\v2.8.1\SDKs\lib\Win32

One could even copy all the needed header files in one folder and reference it instead of adding all the real paths which depend on the SDK installer. If there is no licensing problems we could even distribute those header files with the QuickStart code!

If you have absolutely no idea what the hell I am talking about then simply remove the PhysX project from your solution :D
In case you wannt to use PhysX instead JigLibX you could copy the precompiled QuickStart.Physics.PhysX.dll into your bin folder.

Unfortunately the PhysXPhysicsManager is not working so you have to use the JigLibX anyway.
BTW the exception I get is: {"Method 'get_Gravity' in type 'QuickStart.Physics.PhysX.PhysXScene' from assembly 'QuickStart.Physics.PhysX, Version=1.0.3010.18625, Culture=neutral, PublicKeyToken=null' does not have an implementation.":"QuickStart.Physics.PhysX.PhysXScene"}


Last note: I am using VS 2008 :oops:
User avatar
Riki
Beginner
 
Posts: 21
Joined: Tue Dec 23, 2008 12:28 pm
Location: Croatia


Return to Bug Reports

Who is online

Users browsing this forum: No registered users and 0 guests

cron