Containerized enviroment for running and building projects using Nvidia PhysX.
Dockerfile, build and run scripts can be downloaded from here
Change the mount location in the
run.sh
script to the location where you have downloaded the nvidia physx repository
After clonning NVIDIA PhysX SDK 4.1
repository, requirements for building PhysX can be found here. All these requirements are already included in the dockerfile provided
To build snippets examples -
cd PhysX/physx/ && chmod +x generate_projects.sh && ./generate_projects.sh
cd compiler/linux-release/ && make -j8
./runsnippets.sh
- Update pyton to python3 in
PhysX/physx/generate_projects.sh
- Set clang version in
PhysX/physx/buildtools/cmake_generate_projects.py
if throws errors - Add flags [-Wno-suggest-destructor-override -Wno-suggest-override -Wno-reserved-identifier -Wno-unused-but-set-variable -Wno-dtor-name] to
PhysX/physx/source/compiler/cmake/linux/CMakeLists.txt
if throws errors.