I have a linker problem in my project. I am using a class, NXU_helper, which came with an NVIDIA PhysX physics engine. I have both the header and cpp files, as well as the other files included in them. In my project, I included the header "NXU_helper.h" and I tried using some frunctions from it, but I get the following errors:
1>IOPBTS.obj : error LNK2019: unresolved external symbol "void __cdecl NXU::releaseCollection(class NXU::NxuPhysicsCollection *)" (?releaseCollection@NXU@@YAXPAVNxuPhysicsCollection@1@@Z) referenced in function "int __cdecl LoadScene(char const *,enum NXU::NXU_FileType)" (?LoadScene@@YAHPBDW4NXU_FileType@NXU@@@Z)
1>IOPBTS.obj : error LNK2019: unresolved external symbol "bool __cdecl NXU::instantiateCollection(class NXU::NxuPhysicsCollection *,class NxPhysicsSDK &,class NxScene *,class NxMat34 const *,class NXU_userNotify *)" (?instantiateCollection@NXU@@YA_NPAVNxuPhysicsCollection@1@AAVNxPhysicsSDK@@PAVNxScene@@PBVNxMat34@@PAVNXU_userNotify@@@Z) referenced in function "int __cdecl LoadScene(char const *,enum NXU::NXU_FileType)" (?LoadScene@@YAHPBDW4NXU_FileType@NXU@@@Z)
1>IOPBTS.obj : error LNK2019: unresolved external symbol "class NXU::NxuPhysicsCollection * __cdecl NXU::loadCollection(char const *,enum NXU::NXU_FileType,void *,int)" (?loadCollection@NXU@@YAPAVNxuPhysicsCollection@1@PBDW4NXU_FileType@1@PAXH@Z) referenced in function "int __cdecl LoadScene(char const *,enum NXU::NXU_FileType)" (?LoadScene@@YAHPBDW4NXU_FileType@NXU@@@Z)
All the methods and classes which appear in the error messages exist in the file NXU_helper, but I really don''t understand why I get these errors then. I know it can be hard to answer such a question without having the code, but does anyone have any idea where these errors are coming from?