Chipmunk Physics C++ wrapper
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
chipmunk @ 07d7497
doc
src
unit_test
visualcpp
xcode
.gitignore
.gitmodules
CMakeLists.txt
LICENSE.txt
README.md
SConstruct
chipmunkpp.sublime-project
meson.build
test.cpp

README.md

Chipmunk++

C++11 wrapper for Chipmunk.

Build

First you'll need to set up Chipmunk itself. On Linux you can simply install it using your package manager (e.g. sudo apt-get install chipmunk-dev) and skip the next step.

On Windows or OSX you'll need to run

git submodule update --init

which clones the last Chipmunk release into a folder called chipmunk. Now compile Chipmunk:

cd chipmunk
cmake -D BUILD_DEMOS=OFF -D BUILD_SHARED=OFF -D CMAKE_BUILD_TYPE=Release .
make

To compile Chipmunk on Windows using MSYS2:

pacman -S make mingw-w64-x86_64-cmake
cmake -G "MSYS Makefiles" -D BUILD_DEMOS=OFF -D BUILD_SHARED=OFF -D CMAKE_BUILD_TYPE=Release .
make

Finally run scons in Chipmunk++'s folder.

Unit Tests

scons unit_test=1
./unit_test/unit_test