Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

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: 2009-12-08 (08:57)
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 <> wrote:
> MLGame [] 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.