caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Martin DeMello <martindemello@gmail.com>
To: caml-list@yquem.inria.fr
Subject: Re: anyone got mlgame working against the latest ocamlsdl?
Date: Mon, 7 Dec 2009 22:41:46 +0530	[thread overview]
Message-ID: <f93a6bcc0912070911m4f946ddfo65ce9a01b1ddc700@mail.gmail.com> (raw)
In-Reply-To: <f93a6bcc0912051213wbc4c916v885268b6ee73afb2@mail.gmail.com>

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


      parent reply	other threads:[~2009-12-08  8:57 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-12-05 20:13 Martin DeMello
2009-12-06  9:07 ` [Caml-list] " Richard Jones
2009-12-06 11:41   ` Martin DeMello
2009-12-06 20:45     ` Sylvain Le Gall
2009-12-07 17:11 ` Martin DeMello [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=f93a6bcc0912070911m4f946ddfo65ce9a01b1ddc700@mail.gmail.com \
    --to=martindemello@gmail.com \
    --cc=caml-list@yquem.inria.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).