Trouble With Latest version of PhysX 2.8.3.21

chomby

12-02-2010 18:16:49

I recently downloaded PhysX (2.8.3.21) from the NVIDIA website along with the System Software ( version 9.09.1112 ). I installed both and followed the instructions to do so. Then I downloaded NxOgre, set the environment variables as directed. And attempted to compile using VS 2008 with the pre-existing project, and ran into a fun error which was:
LINK : fatal error LNK1104: cannot open file 'NxCooking.lib'

Well I found out where the file was supposed to be via other examples using PhysX online and after checking my installation I didn't have a NxCooking.lib (However I do have the header for it). What I did find was that I had a file of a slightly different name PhysXCooking.lib.

I was wondering if any one else has run into this problem and could offer a fix.

Thanks in advance.

versions of stuff:
NxOgre 1.5.5
OS: Windows 7 x64
VS 2008
Ogre 1.7
PhyX versions listed above.

deshan

12-02-2010 18:42:42

First check whther you added
$(PHYSX_DIR)\SDKs\lib\win32
to additional library dependencies.
I am using v2.8.1. NxCooking.lib is in ...\v2.8.1\SDKs\lib\Win32 but no lib call PhysXCooking.lib

chomby

12-02-2010 18:55:26

Looking directly into that location there is no library named NxCooking.lib located within that folder. :(
And I made sure I added it ahead of time, because it said to in the directions.

deshan

12-02-2010 19:23:13

hmm... if i were you, i should try to rename the PhysXCooking to NxCooking :)
edit : anyway what are the other lib names?

chomby

12-02-2010 19:59:38

Libraries listed in the file are:
NxCharacter.lib
NxCharacterCHECKED.lib
PhysXCooking.lib
PhysXCookingCHECKED.lib
PhysXCore.lib
PhysXLoader.lib
PhysXLoaderCHECKED.lib

OK I recompiled NxOgre and it did compile.
Thanks Very much I'm going to keep working on it as it is now giving me a different error but I'll see if I can't fix it my self. :D