Help with compiling PhysX!
by Charles Wolfsandle · in Torque 3D Professional · 05/11/2009 (6:06 pm) · 1 replies
I have been trying to recompile the PhysX demo (I am working with VC++2008 Express on a Vista x64 Machine)and have finally narrowed my problems down to one error:
16>Linking...
16>nxcharacter.lib(CharacterController.obj) : error LNK2019: unresolved external symbol "class NxUtilLib * __cdecl NxGetUtilLib(void)" (?NxGetUtilLib@@YAPAVNxUtilLib@@XZ) referenced in function "protected: void __thiscall Controller::move(class SweptVolume &,class NxVec3 const &,unsigned int,float,unsigned int &,float,class NxGroupsMask const *,bool)" (?move@Controller@@IAEXAAVSweptVolume@@ABVNxVec3@@IMAAIMPBVNxGroupsMask@@_N@Z)
16>../../../game/PhysX.exe : fatal error LNK1120: 1 unresolved externals
16>Creating browse information file...
16>Microsoft Browse Information Maintenance Utility Version 9.00.30729
16>Copyright (C) Microsoft Corporation. All rights reserved.
16>Build log was saved at "file://c:\Torque\Torque 3D 2009 Beta 1\Demos\PhysX\buildFiles\Link\VC2k8.Release.Win32\PhysX\BuildLog.htm"
16>PhysX - 2 error(s), 26 warning(s)
========== Rebuild All: 15 succeeded, 1 failed, 0 skipped ==========
Any Help would be greatly appreciated!
Charlie
16>Linking...
16>nxcharacter.lib(CharacterController.obj) : error LNK2019: unresolved external symbol "class NxUtilLib * __cdecl NxGetUtilLib(void)" (?NxGetUtilLib@@YAPAVNxUtilLib@@XZ) referenced in function "protected: void __thiscall Controller::move(class SweptVolume &,class NxVec3 const &,unsigned int,float,unsigned int &,float,class NxGroupsMask const *,bool)" (?move@Controller@@IAEXAAVSweptVolume@@ABVNxVec3@@IMAAIMPBVNxGroupsMask@@_N@Z)
16>../../../game/PhysX.exe : fatal error LNK1120: 1 unresolved externals
16>Creating browse information file...
16>Microsoft Browse Information Maintenance Utility Version 9.00.30729
16>Copyright (C) Microsoft Corporation. All rights reserved.
16>Build log was saved at "file://c:\Torque\Torque 3D 2009 Beta 1\Demos\PhysX\buildFiles\Link\VC2k8.Release.Win32\PhysX\BuildLog.htm"
16>PhysX - 2 error(s), 26 warning(s)
========== Rebuild All: 15 succeeded, 1 failed, 0 skipped ==========
Any Help would be greatly appreciated!
Charlie
Torque 3D Owner Jorge Luis Gandulfo
If so, the NXCharacter Project have a lot of Additional Include Directories, are you sure you installed the SDK in the same location this directories want it to be?
I will download the SDK myself and try to compile to tell you how it worked for me.