Version française
Home     About     Download     Resources     Contact us    
Browse thread
anyone got mlgame working against the latest ocamlsdl?
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Martin DeMello <martindemello@g...>
Subject: Re: anyone got mlgame working against the latest ocamlsdl?
On Sun, Dec 6, 2009 at 1:43 AM, Martin DeMello <martindemello@gmail.com> wrote:
> MLGame [http://mlgame.sourceforge.net/] looks promising, but won't
> compile against the current ocamlsdl from godi. Has anyone got it
> working? Is there another nice alternative for 2D games on OCaml,
> higher-level than plain SDL or Allegro?

Fixed it, with the help of the beginners' list. It turned out to be a
simple environment issue - the makefile expected sdl to be in the same
directory as the stdlib, whereas godi puts it in pkg-lib instead. The
makefile had an undocumented workaround for this:

# ln -s `ocamlfind query sdl` /tmp/SDL/ocamlsdl

after which everything compiled happily.

martin