1>SampleHelloWorld.obj : error LNK2019: unresolved external symbol "public: __thiscall SampleRenderer::RendererColor::RendererColor(unsigned char,unsigned char,unsigned char,unsigned char)" (??0RendererColor@SampleRenderer@@QAE@EEEE@Z) referenced in function "public: virtual void __thiscall SampleHelloWorld::descriptionRender(unsigned int,unsigned int,unsigned char)" (?descriptionRender@SampleHelloWorld@@UAEXIIE@Z)
1>SampleHelloWorld.obj : error LNK2019: unresolved external symbol "public: void __thiscall SampleRenderer::Renderer::print(unsigned int,unsigned int,char const *,float,float,class SampleRenderer::RendererColor)" (?print@Renderer@SampleRenderer@@QAEXIIPBDMMVRendererColor@2@@Z) referenced in function "public: virtual void __thiscall SampleHelloWorld::descriptionRender(unsigned int,unsigned int,unsigned char)" (?descriptionRender@SampleHelloWorld@@UAEXIIE@Z)
1>SampleHelloWorld.obj : error LNK2019: unresolved external symbol "class PxSampleAllocator * __cdecl getSampleAllocator(void)" (?getSampleAllocator@@YAPAVPxSampleAllocator@@XZ) referenced in function "public: static void * __cdecl SampleAllocateable::operator new(unsigned int,char const *,char const *,int)" (??2SampleAllocateable@@SAPAXIPBD0H@Z)
1>SampleHelloWorld.obj : error LNK2019: unresolved external symbol "public: void __thiscall DefaultCameraController::init(class physx::PxVec3 const &,class physx::PxVec3 const &)" (?init@DefaultCameraController@@QAEXABVPxVec3@physx@@0@Z) referenced in function "public: virtual void __thiscall SampleHelloWorld::onInit(void)" (?onInit@SampleHelloWorld@@UAEXXZ)
1>SampleHelloWorld.obj : error LNK2019: unresolved external symbol "public: void __thiscall PhysXSampleApplication::setMouseCursorHiding(bool)" (?setMouseCursorHiding@PhysXSampleApplication@@QAEX_N@Z) referenced in function "public: virtual void __thiscall SampleHelloWorld::onInit(void)" (?onInit@SampleHelloWorld@@UAEXXZ)
1>SampleHelloWorld.obj : error LNK2019: unresolved external symbol "public: void __thiscall PhysXSampleApplication::setMouseCursorRecentering(bool)" (?setMouseCursorRecentering@PhysXSampleApplication@@QAEX_N@Z) referenced in function "public: virtual void __thiscall SampleHelloWorld::onInit(void)" (?onInit@SampleHelloWorld@@UAEXXZ)
1>SampleHelloWorld.obj : error LNK2019: unresolved external symbol "public: char const * __thiscall PhysXSampleApplication::inputInfoMsg(char const *,char const *,int,int)" (?inputInfoMsg@PhysXSampleApplication@@QAEPBDPBD0HH@Z) referenced in function "public: virtual void __thiscall SampleHelloWorld::helpRender(unsigned int,unsigned int,unsigned char)" (?helpRender@SampleHelloWorld@@UAEXIIE@Z)
1>SampleHelloWorld.obj : error LNK2019: unresolved external symbol "public: char const * __thiscall PhysXSampleApplication::inputMoveInfoMsg(char const *,char const *,int,int,int,int)" (?inputMoveInfoMsg@PhysXSampleApplication@@QAEPBDPBD0HHHH@Z) referenced in function "public: virtual void __thiscall SampleHelloWorld::helpRender(unsigned int,unsigned int,unsigned char)" (?helpRender@SampleHelloWorld@@UAEXIIE@Z)
1>SampleHelloWorld.obj : error LNK2019: unresolved external symbol "protected: static class Test::TestGroup & __cdecl PhysXSampleApplication::getSampleTreeRoot(void)" (?getSampleTreeRoot@PhysXSampleApplication@@KAAAVTestGroup@Test@@XZ) referenced in function "public: static bool __cdecl PhysXSampleApplication::registerSample(class PhysXSampleCreator *,char const *)" (?registerSample@PhysXSampleApplication@@SA_NPAVPhysXSampleCreator@@PBD@Z)
1>SampleHelloWorld.obj : error LNK2019: unresolved external symbol "protected: static bool __cdecl PhysXSampleApplication::addSample(class Test::TestGroup &,class PhysXSampleCreator *,char const *)" (?addSample@PhysXSampleApplication@@KA_NAAVTestGroup@Test@@PAVPhysXSampleCreator@@PBD@Z) referenced in function "public: static bool __cdecl PhysXSampleApplication::registerSample(class PhysXSampleCreator *,char const *)" (?registerSample@PhysXSampleApplication@@SA_NPAVPhysXSampleCreator@@PBD@Z)
1>SampleHelloWorld.obj : error LNK2019: unresolved external symbol "public: __thiscall PhysXSample::PhysXSample(class PhysXSampleApplication &,unsigned int)" (??0PhysXSample@@QAE@AAVPhysXSampleApplication@@I@Z) referenced in function "public: __thiscall SampleHelloWorld::SampleHelloWorld(class PhysXSampleApplication &)" (??0SampleHelloWorld@@QAE@AAVPhysXSampleApplication@@@Z)
1>SampleHelloWorld.obj : error LNK2019: unresolved external symbol "public: virtual __thiscall PhysXSample::~PhysXSample(void)" (??1PhysXSample@@UAE@XZ) referenced in function "public: virtual __thiscall SampleHelloWorld::~SampleHelloWorld(void)" (??1SampleHelloWorld@@UAE@XZ)
1>SampleHelloWorld.obj : error LNK2019: unresolved external symbol "public: virtual void __thiscall PhysXSample::onInit(void)" (?onInit@PhysXSample@@UAEXXZ) referenced in function "public: virtual void __thiscall SampleHelloWorld::onInit(void)" (?onInit@SampleHelloWorld@@UAEXXZ)
1>SampleHelloWorld.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall PhysXSample::onShutdown(void)" (?onShutdown@PhysXSample@@UAEXXZ)
1>SampleHelloWorld.obj : error LNK2019: unresolved external symbol "public: virtual void __thiscall PhysXSample::onTickPreRender(float)" (?onTickPreRender@PhysXSample@@UAEXM@Z) referenced in function "public: virtual void __thiscall SampleHelloWorld::onTickPreRender(float)" (?onTickPreRender@SampleHelloWorld@@UAEXM@Z)
1>SampleHelloWorld.obj : error LNK2019: unresolved external symbol "public: virtual void __thiscall PhysXSample::onTickPostRender(float)" (?onTickPostRender@PhysXSample@@UAEXM@Z) referenced in function "public: virtual void __thiscall SampleHelloWorld::onTickPostRender(float)" (?onTickPostRender@SampleHelloWorld@@UAEXM@Z)
1>SampleHelloWorld.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall PhysXSample::onAnalogInputEvent(struct SampleFramework::InputEvent const &,float)" (?onAnalogInputEvent@PhysXSample@@UAEXABUInputEvent@SampleFramework@@M@Z)
1>SampleHelloWorld.obj : error LNK2001: unresolved external symbol "public: virtual bool __thiscall PhysXSample::onDigitalInputEvent(struct SampleFramework::InputEvent const &,bool)" (?onDigitalInputEvent@PhysXSample@@UAE_NABUInputEvent@SampleFramework@@_N@Z)
1>SampleHelloWorld.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall PhysXSample::onPointerInputEvent(struct SampleFramework::InputEvent const &,unsigned int,unsigned int,float,float,bool)" (?onPointerInputEvent@PhysXSample@@UAEXABUInputEvent@SampleFramework@@IIMM_N@Z)
1>SampleHelloWorld.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall PhysXSample::onKeyDownEx(enum SampleFramework::SampleUserInput::KeyCode,unsigned int)" (?onKeyDownEx@PhysXSample@@UAEXW4KeyCode@SampleUserInput@SampleFramework@@I@Z)
1>SampleHelloWorld.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall PhysXSample::onResize(unsigned int,unsigned int)" (?onResize@PhysXSample@@UAEXII@Z)
1>SampleHelloWorld.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall PhysXSample::newMaterial(class RAWMaterial const &)" (?newMaterial@PhysXSample@@UAEXABVRAWMaterial@@@Z)
1>SampleHelloWorld.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall PhysXSample::newShape(class RAWShape const &)" (?newShape@PhysXSample@@UAEXABVRAWShape@@@Z)
1>SampleHelloWorld.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall PhysXSample::newHelper(class RAWHelper const &)" (?newHelper@PhysXSample@@UAEXABVRAWHelper@@@Z)
1>SampleHelloWorld.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall PhysXSample::newTexture(class RAWTexture const &)" (?newTexture@PhysXSample@@UAEXABVRAWTexture@@@Z)
1>SampleHelloWorld.obj : error LNK2019: unresolved external symbol "public: virtual void __thiscall PhysXSample::collectInputEvents(class std::vector<struct SampleFramework::InputEvent const *,class std::allocator<struct SampleFramework::InputEvent const *> > &)" (?collectInputEvents@PhysXSample@@UAEXAAV?$vector@PBUInputEvent@SampleFramework@@V?$allocator@PBUInputEvent@SampleFramework@@@std@@@std@@@Z) referenced in function "public: virtual void __thiscall SampleHelloWorld::collectInputEvents(class std::vector<struct SampleFramework::InputEvent const *,class std::allocator<struct SampleFramework::InputEvent const *> > &)" (?collectInputEvents@SampleHelloWorld@@UAEXAAV?$vector@PBUInputEvent@SampleFramework@@V?$allocator@PBUInputEvent@SampleFramework@@@std@@@std@@@Z)
1>SampleHelloWorld.obj : error LNK2001: unresolved external symbol "public: virtual class SampleFramework::SampleDirManager & __thiscall PhysXSample::getSampleOutputDirManager(void)" (?getSampleOutputDirManager@PhysXSample@@UAEAAVSampleDirManager@SampleFramework@@XZ)
1>SampleHelloWorld.obj : error LNK2001: unresolved external symbol "private: virtual void __thiscall PhysXSample::onPvdConnected(class physx::debugger::comm::PvdConnection &)" (?onPvdConnected@PhysXSample@@EAEXAAVPvdConnection@comm@debugger@physx@@@Z)
1>SampleHelloWorld.obj : error LNK2001: unresolved external symbol "private: virtual void __thiscall PhysXSample::onPvdDisconnected(class physx::debugger::comm::PvdConnection &)" (?onPvdDisconnected@PhysXSample@@EAEXAAVPvdConnection@comm@debugger@physx@@@Z)
1>SampleHelloWorld.obj : error LNK2019: unresolved external symbol "public: void __thiscall Console::out(char const *)" (?out@Console@@QAEXPBD@Z) referenced in function "void __cdecl gExport(class Console *,char const *,void *)" (?gExport@@YAXPAVConsole@@PBDPAX@Z)
1>SampleHelloWorld.obj : error LNK2019: unresolved external symbol "public: void __thiscall Console::addCmd(char const *,void (__cdecl*)(class Console *,char const *,void *))" (?addCmd@Console@@QAEXPBDP6AXPAV1@0PAX@Z@Z) referenced in function "public: virtual void __thiscall SampleHelloWorld::onInit(void)" (?onInit@SampleHelloWorld@@UAEXXZ)
1>MSVCRTD.lib(crtexew.obj) : error LNK2019: unresolved external symbol _WinMain@16 referenced in function ___tmainCRTStartup
1>..\Bin\win32\physx_hel
PhysX unresolved externals errors
Ok,I don't have any ideea why these errors appear,I mean I linked everything...Anyway,these are the errors,if anybody has an ideea how to fix them,please tell...
You're most likely missing a .lib in your linker settings, or you're dealing with a busted project file. What do your linker inputs look like?
or possibly you dont have a file included in the project that should be, happens to me sometimes.
[source lang="cpp"]PhysX3_x86.lib
PhysX3CharacterKinematic_x86.lib
PhysX3CharacterKinematicCHECKED_x86.lib
PhysX3CharacterKinematicPROFILE_x86.lib
PhysX3CHECKED_x86.lib
PhysX3Common_x86.lib
PhysX3CommonCHECKED_x86.lib
PhysX3CommonDEBUG_x86.lib
PhysX3CommonPROFILE_x86.lib
PhysX3Cooking_x86.lib
PhysX3CookingCHECKED_x86.lib
PhysX3CookingPROFILE_x86.lib
PhysX3Extensions.lib
PhysX3ExtensionsCHECKED.lib
PhysX3ExtensionsPROFILE.lib
PhysX3PROFILE_x86.lib
PhysX3Vehicle.lib
PhysX3VehicleCHECKED.lib
PhysX3VehiclePROFILE.lib
PhysXProfileSDK.lib
PhysXProfileSDKCHECKED.lib
PhysXProfileSDKPROFILE.lib
PhysXVisualDebuggerSDK.lib
PhysXVisualDebuggerSDKCHECKED.lib
PhysXVisualDebuggerSDKPROFILE.lib
PxTask.lib
PxTaskCHECKED.lib
PxTaskPROFILE.lib
RepX3.lib
RepX3CHECKED.lib
RepX3PROFILE.lib
RepXUpgrader3.lib
RepXUpgrader3CHECKED.lib
RepXUpgrader3PROFILE.lib[/source]
That's what I have under Linker->Input
PhysX3CharacterKinematic_x86.lib
PhysX3CharacterKinematicCHECKED_x86.lib
PhysX3CharacterKinematicPROFILE_x86.lib
PhysX3CHECKED_x86.lib
PhysX3Common_x86.lib
PhysX3CommonCHECKED_x86.lib
PhysX3CommonDEBUG_x86.lib
PhysX3CommonPROFILE_x86.lib
PhysX3Cooking_x86.lib
PhysX3CookingCHECKED_x86.lib
PhysX3CookingPROFILE_x86.lib
PhysX3Extensions.lib
PhysX3ExtensionsCHECKED.lib
PhysX3ExtensionsPROFILE.lib
PhysX3PROFILE_x86.lib
PhysX3Vehicle.lib
PhysX3VehicleCHECKED.lib
PhysX3VehiclePROFILE.lib
PhysXProfileSDK.lib
PhysXProfileSDKCHECKED.lib
PhysXProfileSDKPROFILE.lib
PhysXVisualDebuggerSDK.lib
PhysXVisualDebuggerSDKCHECKED.lib
PhysXVisualDebuggerSDKPROFILE.lib
PxTask.lib
PxTaskCHECKED.lib
PxTaskPROFILE.lib
RepX3.lib
RepX3CHECKED.lib
RepX3PROFILE.lib
RepXUpgrader3.lib
RepXUpgrader3CHECKED.lib
RepXUpgrader3PROFILE.lib[/source]
That's what I have under Linker->Input
Did you create the project file or is it one supplied with the SDK? Are you missing a .cpp file or two?
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement