Browse thread
anyone got mlgame working against the latest ocamlsdl?
-
Martin DeMello
- Richard Jones
- Martin DeMello
[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ 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 <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