From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from mail4-relais-sop.national.inria.fr (mail4-relais-sop.national.inria.fr [192.134.164.105]) by yquem.inria.fr (Postfix) with ESMTP id 93EC2BC57 for ; Sun, 11 Apr 2010 21:06:55 +0200 (CEST) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AnsDAHa6wUvUGyoCkWdsb2JhbACDEoxggVCKBBUBAQEBCQsKBxEDH6Y/N4V2LohSgSyCcm4E X-IronPort-AV: E=Sophos;i="4.52,185,1270418400"; d="scan'208";a="60537323" Received: from smtp2-g21.free.fr ([212.27.42.2]) by mail4-smtp-sop.national.inria.fr with ESMTP; 11 Apr 2010 21:06:54 +0200 Received: from smtp2-g21.free.fr (localhost [127.0.0.1]) by smtp2-g21.free.fr (Postfix) with ESMTP id 17AC74B00CE for ; Sun, 11 Apr 2010 21:06:49 +0200 (CEST) Received: from localhost.localnet (91-168-182-168.rev.libertysurf.net [91.168.182.168]) by smtp2-g21.free.fr (Postfix) with ESMTP id 341DF4B0196 for ; Sun, 11 Apr 2010 21:06:47 +0200 (CEST) From: Florent Monnier To: caml-list@yquem.inria.fr Subject: Re: [Caml-list] ocaml+sdl+opengl ? Date: Sun, 11 Apr 2010 21:14:36 +0200 User-Agent: KMail/1.12.4 (Linux/2.6.31.12-desktop586-3mnb; KDE/4.3.5; i686; ; ) References: <201004111953.29957.monnier.florent@gmail.com> In-Reply-To: MIME-Version: 1.0 Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <201004112114.37002.monnier.florent@gmail.com> X-Spam: no; 0.00; ocaml:01 lablgl:01 lablgl:01 toplevel:01 ocamlmktop:01 -custom:01 ocamlsdl:01 bigarray:01 ocamlsdl:01 ocamlopt:01 cmxa:01 bigarray:01 cmxa:01 macosx:01 caml-list:01 > 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