Author Topic: Ported Chipmunk Physics Engine  (Read 3033 times)

jxv (OP)

  • Posts: 38
Ported Chipmunk Physics Engine
« on: January 23, 2013, 09:44:44 pm »


Chipmunk is an open source physics engine under the MIT license. It's written in C (C99).
Evaluations are deterministic which is good for supporting wireless multiplayer.

Official website: http://chipmunk-physics.net

Download, build, and installation for gcw0 toolchain:
Code: [Select]
#git clone https://github.com/jxv/Chipmunk-Physics.git
#cd Chipmunk-Physics
#make -f Makefile.gcw0
#make -f Makefile.gcw0 install

Build Demo program:
Code: [Select]
#cd Chipmunk-Physics/DemoSDL
#make -f Makefile.gcw0



To build on your desktop, you must have CMake installed with further instructions inside  README.textfile.
« Last Edit: January 23, 2013, 10:02:36 pm by jxv »

Optimus

  • Posts: 107
Re: Ported Chipmunk Physics Engine
« Reply #1 on: January 26, 2013, 10:20:43 am »
Cool! I'd like to see how it performs on GCW.

Senor Quack

  • Posts: 225
Re: Ported Chipmunk Physics Engine
« Reply #2 on: March 27, 2015, 07:41:06 pm »
The github link is no longer valid and jxv (original poster) has given me these new instructions and github repo link in IRC and told me to post them here. Note that I have not tried these myself, this is just a favor for another IRC user who was having trouble:
Code: [Select]
#git clone https://github.com/slembcke/Chipmunk2D.git
#cmake -DCMAKE_TOOLCHAIN_FILE=/opt/gcw0-toolchain/usr/share/buildroot/toolchainfile.cmake -DBUILD_DEMOS=OFF -DBUILD_SHARED=OFF -DCMAKE_INSTALL_PREFIX=/opt/gcw0-toolchain/usr/mipsel-gcw0-linux-uclibc/sysroot/usr
#make
#sudo make install

David Knight

  • Posts: 577
Re: Ported Chipmunk Physics Engine
« Reply #3 on: March 27, 2015, 08:04:27 pm »
tar

 

Post a new topic