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 concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by yquem.inria.fr (Postfix) with ESMTP id D0055BC50 for ; Wed, 4 Oct 2006 19:28:07 +0200 (CEST) Received: from mail20.bluewin.ch (mail20.bluewin.ch [195.186.19.65]) by concorde.inria.fr (8.13.6/8.13.6) with ESMTP id k94HS7VB028449 for ; Wed, 4 Oct 2006 19:28:07 +0200 Received: from [10.0.1.2] (83.76.73.191) by mail20.bluewin.ch (Bluewin 7.3.118) id 4513CBAB002A7FF4; Wed, 4 Oct 2006 17:27:53 +0000 In-Reply-To: <205351460610040933u7fa92485i8abce889d92bb438@mail.gmail.com> 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> <01C8EC74-7DA0-4F85-81A5-6B1B8D123316@epfl.ch> <205351460610040933u7fa92485i8abce889d92bb438@mail.gmail.com> Mime-Version: 1.0 (Apple Message framework v752.2) Content-Type: text/plain; charset=ISO-8859-1; delsp=yes; format=flowed Message-Id: <452F01CA-57E4-4427-AC39-F3862BF18638@epfl.ch> Cc: Christophe Raffalli , 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 19:28:48 +0200 To: Doug Kirk X-Mailer: Apple Mail (2.752.2) X-Miltered: at concorde with ID 4523EF27.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Spam: no; 0.00; bunzli:01 buenzli:01 osx:01 abstraction:01 camlimages:01 abstraction:01 camlimages:01 usefull:01 iirc:01 statically:01 imagemagick:98 macosx:01 compile:01 compile:01 caml-list:01 Le 4 oct. 06 =E0 18:33, Doug Kirk a =E9crit : > Try checking > > /System/Library/Frameworks/ApplicationServices.framework/Headers/=20 > ApplicationServices.h > /System/Library/Frameworks/ApplicationServices.framework/Frameworks/=20= > ImageIO.framework/Headers/Image*.h > > for the headers. These headers are those of the osx specific image loading =20 abstraction. Camlimages doesn't use this abstraction=13 so there is no =20= chance you'll be able to compile camlimages using these headers. What =20= you want is png.h, jpeglib.h, tiff.h, etc. Anyway as I told in my =20 previous email it seems that the dynamic libraries in imageio do not =20 include all the functions you get when you compile the corresponding =20 library by yourself, so they aren't really usefull by their own. > If you don't want to depend upon fink, and neither on OS X core =20 > libraries, maybe ImageMagick? Doesn't really make more sense. First you can use libpng without =20 depending on fink, then iirc camlimage doesn't use ImageMagic at all. The only real option in my opinion is to statically link against the =20 image libraries to distribute your application. Best, Daniel