caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: "Daniel Bünzli" <daniel.buenzli@erratique.ch>
To: Florent Monnier <monnier.florent@gmail.com>
Cc: caml-list@yquem.inria.fr
Subject: Re: [Caml-list] ocaml+sdl+opengl ?
Date: Sun, 11 Apr 2010 20:28:24 +0200	[thread overview]
Message-ID: <u2k91a3da521004111128ya56f6c98nf95574bd73c78c16@mail.gmail.com> (raw)
In-Reply-To: <201004111953.29957.monnier.florent@gmail.com>

You did not specify the platform but on osx 10.6.3 sdl+lablgl works.

More precisely

> sdl+LablGL in interpreted mode => Failure

Works but you need to make a custom toplevel (see ocamlsdl's readme about osx).

$ ocamlmktop -I +lablGL -I +sdl -custom -o ocamlsdl lablgl.cma
bigarray.cma sdl.cma
$ ./ocamlsdl -I +lablGL -I +sdl test.ml

> sdl+LablGL in native code => Failure

Works here with

$ ocamlopt -I +lablGL lablgl.cmxa bigarray.cmxa -I +sdl sdl.cmxa test.ml -o test

Best,

Daniel


  reply	other threads:[~2010-04-11 18:28 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-04-11 17:53 Florent Monnier
2010-04-11 18:28 ` Daniel Bünzli [this message]
2010-04-11 19:14   ` [Caml-list] " Florent Monnier
2010-04-11 19:10     ` Daniel Bünzli
2010-04-11 19:33       ` Florent Monnier
2010-04-11 19:00 ` Florent Monnier

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=u2k91a3da521004111128ya56f6c98nf95574bd73c78c16@mail.gmail.com \
    --to=daniel.buenzli@erratique.ch \
    --cc=caml-list@yquem.inria.fr \
    --cc=monnier.florent@gmail.com \
    /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).