PyWeek - Trouble running Bouncy on Linux?

The instructions in the readme seems to be a bit unclear on what you need to do to run Bouncy under Linux, so if you have trouble in running Bouncy under linux and it complains about a .dylib file not found, read on!

You will need to compile chipmunk. It is not very hard to do:

  • Unzip the pymunk-0.1.1.zip file included in the Bouncy zip. It contains Chipmunk (and pymunk, the python binding, but we only need to compile chipmunk for Bouncy to run).
  • Go to the folder named Chipmunk_src
  • Compile!
    > gcc -O3 -std=gnu99 -fPIC -ffast-math -c *.c
    > gcc -shared -o libChipmunkPyEd.so *.o
  • Move libChipmunkPyEd.so to /usr/lib
  • The game should work now.

viblo on 2007/09/09 19:06 of Bouncy