From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on yquem.inria.fr X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=disabled version=3.1.3 X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from discorde.inria.fr (discorde.inria.fr [192.93.2.38]) by yquem.inria.fr (Postfix) with ESMTP id 4644CBC50 for ; Wed, 4 Oct 2006 00:34:48 +0200 (CEST) Received: from mail12.bluewin.ch (mail12.bluewin.ch [195.186.19.61]) by discorde.inria.fr (8.13.6/8.13.6) with ESMTP id k93MYlFm029199 for ; Wed, 4 Oct 2006 00:34:48 +0200 Received: from [10.0.1.3] (62.203.236.100) by mail12.bluewin.ch (Bluewin 7.3.118) id 4513C50400275406; Tue, 3 Oct 2006 22:34:47 +0000 In-Reply-To: <4522BE3D.1060600@univ-savoie.fr> References: <70619F46-FF01-4B4B-8CEA-3DB768CB6640@gmail.com> <45226D8E.8040905@univ-savoie.fr> <45598B33-A502-466B-830A-B4FC1D93316D@gmail.com> <4522BE3D.1060600@univ-savoie.fr> Mime-Version: 1.0 (Apple Message framework v752.2) Content-Type: text/plain; charset=ISO-8859-1; delsp=yes; format=flowed Message-Id: <01C8EC74-7DA0-4F85-81A5-6B1B8D123316@epfl.ch> Cc: Julien Blond , caml-list@inria.fr Content-Transfer-Encoding: quoted-printable From: =?ISO-8859-1?Q?Daniel_B=FCnzli?= Subject: Re: [Caml-list] Custom linking with MacOSX frameworks? Date: Wed, 4 Oct 2006 00:35:41 +0200 To: Christophe Raffalli X-Mailer: Apple Mail (2.752.2) X-Miltered: at discorde with ID 4522E587.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Spam: no; 0.00; bunzli:01 buenzli:01 christophe:01 raffalli:01 camlimages:01 dylib:01 libgif:01 dylib:01 osx:01 abstraction:01 ocamlsdl:01 iirc:01 1.3:98 macosx:01 compile:01 Le 3 oct. 06 =E0 21:47, Christophe Raffalli a =E9crit : > By the way if someone know which framework to use to compile =20 > camlimages with the maximum number of file format without depending =20= > upon fink library ... There is the ImageIO.framework. > cd /System/Library/Frameworks/ApplicationServices.framework/=20 Frameworks/ImageIO.framework/Resources/ > ls *.dylib libGIF.dylib* libJPEG.dylib* =20 libPng.dylib* libRaw.dylib* libJP2.dylib* libOpenEXR.dylib* =20 libRadiance.dylib* libTIFF.dylib* But header files are not included (these libraries are used to =20 implement an osx specific abstraction). Moreover, by looking at the =20 output of > otool -T -v *.dylib it seems to me that not every symbol defined by these libraries are =20 exported. >> Well, I don't use Glut for I prefer the more "customizable" SDL =20 >> framework. It may work better with it? > Which binding ? I might give it a try ? By customizable, you mean =20 > access to the OS X menu bar ? ocamlsdl I guess. IIRC you don't have access to the menu bar in SDL =20 apps. But you don't have inversion of control -- you own the main =20 loop -- maybe that's what he meant by more "customizable". Compared =20 to glut, a limitation you get is that you can have only one window to =20= render (this limitation will be lifted in the upcoming version 1.3). Daniel