-
Notifications
You must be signed in to change notification settings - Fork 97
Build Instructions
Andres Traks edited this page Dec 1, 2021
·
15 revisions
- CMake
- CMake-compatible C++ compiler (Visual Studio, GCC, etc.)
- C# compiler (Visual Studio or Mono C# Compiler)
- git clone https://github.com/bulletphysics/bullet3
- git clone https://github.com/AndresTraks/BulletSharpPInvoke
- Set the source code directory to BulletSharpPInvoke/libbulletc
- Set the build directory to e.g. BulletSharpPInvoke/libbulletc/build
You can change these options:
- Optional platform for generator - x64, Win32
- BULLET_INCLUDE_DIR - the location of bullet3/src (autodetected)
- USE_DOUBLE_PRECISION - use with the double precision branch
- BULLET2_MULTITHREADING - to enable multithreading, select BULLET2_MULTITHREADING, press Configure and then select available libraries: BULLET2_USE_PPL_MULTITHREADING, BULLET2_USE_OPEN_MP_MULTITHREADING, BULLET2_USE_TBB_MULTITHREADING
- On Windows, open BulletSharpPInvoke/libbulletc/build/libbulletc.sln and build the solution
- On Unix, open a terminal at BulletSharpPInvoke/libbulletc/build and run "make"
- Open BulletSharpPInvoke/BulletSharp/BulletSharpPInvoke.sln and build the solution