-
Compile this fork of PhysX.
It's essentially vanilla PhysX with runtime type information enabled and some minor fixes to make it compile on recent systems. Follow the official build instructions. Note that there are dedicated build folders for release and debug. You don't need to install PhysX, we'll use it directly from the build directory.
-
Install the Vulkan-SDK in version
1.2.162
. -
Run the following command to install the remaining dependencies. Adjust package manager and package names accordingly if you are not using Ubuntu.
sudo apt install ninja-build pkg-config libassimp-dev libglfw3-dev libopenal-dev libogg-dev libopus-dev libopusfile-dev
-
Run the following commands from the root of this repository to build Raygun. Adjust the path to PhysX accordingly.
cmake -GNinja -DCMAKE_BUILD_TYPE=Release -DPhysX_ROOT=$HOME/git/PhysX -B build ninja -C build
-
You can now run the example:
build/example/example
Note that Raygun expects the
resources
directory to be located in the current working directory.