Undefined reference to `PxSetPhysXGpuProfilerCallback' #103
-
Hi. I've built the The following code runs fine:
However, as soon as I call
I've also tried |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 2 replies
-
I see you are running this in release build (at least I think so) in which case PVD is not supported, could you maybe try debug/checked/profile builds instead? |
Beta Was this translation helpful? Give feedback.
-
Thanks, much appreciated! I have never set up a CMake file from scratch for PhysX but maybe you need to also include a dependency to the PhysXGpu library? As seen here https://github.com/NVIDIA-Omniverse/PhysX/blob/release/104.2/physx/dependencies.xml |
Beta Was this translation helpful? Give feedback.
-
Found the issue! After |
Beta Was this translation helpful? Give feedback.
-
Nice! Glad you got it working! |
Beta Was this translation helpful? Give feedback.
Found the issue!
After
make && make install
, you get a folder calledinstall
insidePhysX/physx
, however, it forgot to copy thePhysX/physx/bin/linux.clang/checked/libPhysXGpu_64.so
over. Once I copied that over and added it to my CMakeLists.txt, it worked!