From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by yquem.inria.fr (Postfix) with ESMTP id 0273ABB81 for ; Fri, 30 Dec 2005 22:03:28 +0100 (CET) Received: from pauillac.inria.fr (pauillac.inria.fr [128.93.11.35]) by nez-perce.inria.fr (8.13.0/8.13.0) with ESMTP id jBUL3RRM006964 for ; Fri, 30 Dec 2005 22:03:27 +0100 Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id WAA14984 for ; Fri, 30 Dec 2005 22:03:27 +0100 (MET) Received: from mail13.bluewin.ch (mail13.bluewin.ch [195.186.18.62]) by nez-perce.inria.fr (8.13.0/8.13.0) with ESMTP id jBUL36HJ006951 for ; Fri, 30 Dec 2005 22:03:26 +0100 Received: from [10.0.1.2] (83.77.76.189) by mail13.bluewin.ch (Bluewin 7.2.069.1) id 438B1A9000853DEB; Fri, 30 Dec 2005 21:03:06 +0000 In-Reply-To: <5de3f5ca0512301223x57f44b4fr17c3d7816c402678@mail.gmail.com> References: <5de3f5ca0512301223x57f44b4fr17c3d7816c402678@mail.gmail.com> Mime-Version: 1.0 (Apple Message framework v746.2) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <753E085A-AB02-473E-AD1E-11CF2F79FFAA@epfl.ch> Cc: caml-list Content-Transfer-Encoding: 7bit From: =?ISO-8859-1?Q?Daniel_B=FCnzli?= Subject: Re: [Caml-list] lablgl on Mac OS X Date: Fri, 30 Dec 2005 22:03:44 +0100 To: "L.G. Meredith" X-Mailer: Apple Mail (2.746.2) X-Miltered: at nez-perce with ID 43B5A09F.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Miltered: at nez-perce with ID 43B5A08A.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Spam: no; 0.00; bunzli:01 buenzli:01 epfl:01 caml-list:01 lablgl:01 lablglut:01 togl:01 segfault:01 ocaml:01 togl:01 ocaml:01 compile:01 compile:01 glut:01 supported:01 X-Spam-Checker-Version: SpamAssassin 3.0.3 (2005-04-27) on yquem.inria.fr X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=disabled version=3.0.3 Try the glut examples with lablglut, they should work. I guess examples with togl segfault because tk is now supported in the native window system and if you compile ocaml it will use the native version of tk. However togl uses glx to initalize the opengl context so both cannot work together. If you really want to use togl you need to compile ocaml so that it uses a X11 version of tk. Best, Daniel