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 mail3-relais-sop.national.inria.fr (mail3-relais-sop.national.inria.fr [192.134.164.104]) by yquem.inria.fr (Postfix) with ESMTP id 93051BC57 for ; Sun, 11 Apr 2010 20:28:25 +0200 (CEST) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AuECAJmxwUvRVdvckGdsb2JhbACDEpgvCBUBAQEBCQkMBxEDH6YxgieECIh7AQEDBYEngnJuBIxe X-IronPort-AV: E=Sophos;i="4.52,185,1270418400"; d="scan'208";a="48313723" Received: from mail-ew0-f220.google.com ([209.85.219.220]) by mail3-smtp-sop.national.inria.fr with ESMTP; 11 Apr 2010 20:28:25 +0200 Received: by ewy20 with SMTP id 20so1721492ewy.1 for ; Sun, 11 Apr 2010 11:28:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:date:x-google-sender-auth:received:message-id:subject :from:to:cc:content-type; bh=szX07g8TZR6iB8uqRLnymsXFtoxDmZrU/OsEM/HPtfE=; b=TbQx9YHzUWQKMPwmGnvwTg20l2tM3fwaTgrEsop1rvp0wjnGVGcoAgIaSfs4Y4oYXY XNc1zzLzdVJ9G02xlQB0AS2BwdQQgALteL+jjvUdoZ8/F57n/IpdIRwSiAzbjfioDVB0 4X0hyuow6Og7wqhU0epj5NToSU5erGPjk1E+0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; b=M3dACyAkDlVN5Ela3CJ2pqDQHri9ZbPdsMn1afgtjlr88QBNDNxIklJ1S+orxhoUN2 JzcFOZLZkL024FMWxrQm6myOwLucVB2gyK59oPYpjgwY7cD7bEagPBV12JJjkLsTtAgt 1bciDsB3voMpx80Ny1Uxyk7nxN4CSvvZmvtBQ= MIME-Version: 1.0 Sender: daniel.c.buenzli@gmail.com Received: by 10.213.14.20 with HTTP; Sun, 11 Apr 2010 11:28:24 -0700 (PDT) In-Reply-To: <201004111953.29957.monnier.florent@gmail.com> References: <201004111953.29957.monnier.florent@gmail.com> Date: Sun, 11 Apr 2010 20:28:24 +0200 X-Google-Sender-Auth: 4b281660ab1ca391 Received: by 10.213.109.147 with SMTP id j19mr1503858ebp.25.1271010504550; Sun, 11 Apr 2010 11:28:24 -0700 (PDT) Message-ID: Subject: Re: [Caml-list] ocaml+sdl+opengl ? From: =?UTF-8?Q?Daniel_B=C3=BCnzli?= To: Florent Monnier Cc: caml-list@yquem.inria.fr Content-Type: text/plain; charset=UTF-8 X-Spam: no; 0.00; ocaml:01 buenzli: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 caml-list:01 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