Version française
Home     About     Download     Resources     Contact us    
Browse thread
ocaml+sdl+opengl ?
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Florent Monnier <monnier.florent@g...>
Subject: Re: [Caml-list] ocaml+sdl+opengl ?
> You did not specify the platform but on osx 10.6.3 sdl+lablgl works.

I'm using Linux.
(and glMLite does work on MacOSX too)


> > 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

OK, so I guess the problem is specific for Linux


-- 
Best,
Florent