Giter Site home page Giter Site logo

Include old Chipmunk about fork-rolling-moon HOT 4 OPEN

aryx avatar aryx commented on August 27, 2024
Include old Chipmunk

from fork-rolling-moon.

Comments (4)

fccm avatar fccm commented on August 27, 2024

Seems to work (or at least to run) with Chipmunk version 6.1.4

$ ocaml -I external/glMLite/SRC -I /tmp/Chipmunk2D-Chipmunk-6.1.4/src -I external/ocaml-chipmunk chipmunk.cma GL.cma Glu.cma Glut.cma jpeg_loader.cma bigarray.cma rolling_moon.ml -l level.2.data

from fork-rolling-moon.

fccm avatar fccm commented on August 27, 2024
cd /tmp
wget https://github.com/slembcke/Chipmunk2D/archive/Chipmunk-6.1.4.tar.gz
tar xzf Chipmunk2D-Chipmunk-6.1.4.tar.gz
cd Chipmunk2D-Chipmunk-6.1.4/src
gcc -c -I../include/chipmunk/ *.c
cd constraints/
gcc -c -I../../include/chipmunk/ *.c
cd ..
gcc -shared -o libchipmunk.so *.o constraints/*.o

from fork-rolling-moon.

fccm avatar fccm commented on August 27, 2024

I'm now able to play levels 2 until 5 -l level.2.data -l level.3.data -l level.4.data -l level.5.data but my computer crashes with level.1.data, and level.0.data doesn't work anymore (but no computer crash).

from fork-rolling-moon.

fccm avatar fccm commented on August 27, 2024

I finally found that the versions to use to run this game without anything broken are:

  • ocaml-chipmunk-0.04
  • Chipmunk-5.2.0

And I made another release ocaml-chipmunk-0.04.2 which is identical than 0.04 but which includes Chipmunk-5.2.0 in it and compiles against it.

Everything works again with these versions.

I also made another release of rolling-moon which explains to take this version of the dependency.

from fork-rolling-moon.

Related Issues (2)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.