Wrote an answer on github at
https://github.com/viblo/pymunk/issues/80, but copied the whole thing here as well:
The currently released pymunk uses Chipmunk rev 3bdf1b7b3c, its from Aug 17. (To see the version used just print pymunk.chipmunk_version).
Its relatively easy to compile chipmunk if you are on Linux, on windows you need to have gcc setup which can be a bit tricky. The best is to use the setup.py script to do it, that way all compile flags will be correct. Start by verifying that you can compile the current version:
Code: Select all
$ python setup.py compile_chipmunk
$ cd tools
$ python run_tests.py
Then update the chipmunk source to whatever version you want to use. It should be placed inside the chipmunk_src folder. (There is a helper script that will copy the source from a downloaded chipmunk repo in the tools folder that I usually use, but manual copying should work just as good). Then run the commands again.
I should add that the latest latest git revision of chipmunk contains new stuff, so no guarantees that it will work with that version.
http://www.pymunk.org - A python library built on top of Chipmunk to let you easily get cool 2d physics in your python game/app