-
I've build PhysX 5.4.1, all the snippets work fine. But I have been unable to link PhysX into my own C++ project. I have been using premake5. My project builds just fine but only with cuda and PhysXGpu_64 linked. However when I run the binary I get this error:"error while loading shared libraries: libPhysXGpu_64.so: cannot open shared object file: No such file or directory" My premake config: https://pastebin.com/00GgeqLV |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Hi @Spatchler |
Beta Was this translation helpful? Give feedback.
Ok, I have never encountered LD_LIBRARY_PATH this before when linking shared libraries, probably because I install them with my package manager. I ended up copying the libPhysXGpu_64.so into /usr/lib to fix the issue. Thanks for the reply @vreutskyy