NVIDIAGameWorks / PhysX

NVIDIA PhysX SDK
Other
3.11k stars 793 forks source link

Cannot find procdeure entry point in VS2022 when call PxCreatePvd #613

Closed ChrisOyj closed 1 year ago

ChrisOyj commented 1 year ago

I used vc to build PhysX for vc17 by https://github.com/NVIDIAGameWorks/PhysX/issues/599#issue-1360999091 then I can build my own projects and include all headers and libraries. But I can't call PxCreatePvd() Fuction.

Here're my codes

PxDefaultAllocator      m_Allocator;
PxDefaultErrorCallback  m_ErrorCallback;
PxFoundation* m_pFoundation;
m_pFoundation = PxCreateFoundation(PX_PHYSICS_VERSION, m_Allocator, m_ErrorCallback);
m_pPVD =  PxCreatePvd(*m_pFoundation);

*it works well in release mode.