Replies: 2 comments
-
Hi @zoctipus - Cmake setups can be tricky, yes. We don't have support bandwidth to help with this specific issue, unfortunately. Maybe you can just use the vcpkg described here? https://omni-101.github.io/omniverse/2023/07/07/omniverse-physx-vcpkg-port/ |
Beta Was this translation helpful? Give feedback.
-
I pressed 0 because i used the clang compiler but the difference with 1 should not be big. Go to PhysX/physx/compiler/linux-checked. (if you pressed 1 i guess it would be PhysX/physx/compiler/linux-aarch64-checked) You see a Makefile there. Type "make" and wait for the compilation to end. so if the static libraries are in physx/bin/linux.clang/checked then change the line "link_directories("PhysX/bin/linux.clang/${PHYSX_BUILD_TYPE}")" in Cmake to "link_directories("physx/bin/linux.clang/checked")" keep in mind that these paths are relative paths, relative to where you type make when in the root folder. Hope this works. |
Beta Was this translation helpful? Give feedback.
-
Hello, I am a C++ Beginner, I want to make the SnippetHelloWorld.cpp work. I want to ask how to link target libraries such as PhysXExtensions_static_64, PhysX_static_64 as showned in
https://nvidia-omniverse.github.io/PhysX/physx/5.3.1/docs/BuildingWithPhysX.html
What I have done sofar
however what I ended up is
I searched hours and still don't know the solution. Big thanks for helping me!
Beta Was this translation helpful? Give feedback.
All reactions