I decided to use JOLT Physics some weeks ago inside my games engine and the process has been slightly painful so here is my findings about how to compile it inside your project.
- cmake: used to create the project
- visual studio 17 or later (in my case)
Your code must be compiled following the next rules:
- x64 (no 32 bits version of Jolt provided AFAIK)
- must be /MT or /MTd, not MD
- should use c++17 or later
- There are lots of flags that must be included to make it work
- Clone Jolt Repo: https://github.com/jrouwe/JoltPhysics
- Follow this guide to create project: https://github.com/jrouwe/JoltPhysics/blob/master/Build/README.md
- Open Project in Visual Studio
- Compile Library