Skip to content

Instantly share code, notes, and snippets.

@jagenjo
Last active January 23, 2024 17:20
Show Gist options
  • Save jagenjo/5c0815218dfce06daca445acaa507418 to your computer and use it in GitHub Desktop.
Save jagenjo/5c0815218dfce06daca445acaa507418 to your computer and use it in GitHub Desktop.

Revisions

  1. jagenjo revised this gist Jan 23, 2024. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion SettingUp Jolt.md
    Original file line number Diff line number Diff line change
    @@ -7,7 +7,7 @@ I decided to use JOLT Physics some weeks ago inside my games engine and the proc
    - cmake: used to create the project
    - visual studio 17 or later (in my case)

    # Your C++ Project requirements
    ## Your C++ Project requirements
    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
  2. jagenjo renamed this gist Jan 23, 2024. 1 changed file with 0 additions and 0 deletions.
    File renamed without changes.
  3. jagenjo created this gist Nov 29, 2023.
    23 changes: 23 additions & 0 deletions gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,23 @@
    # Setting up JOLT Physics from C++

    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.

    ## Requirements

    - cmake: used to create the project
    - visual studio 17 or later (in my case)

    # Your C++ Project requirements
    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

    ## Steps

    - 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
    -