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 2407CBC50 for ; Wed, 4 Oct 2006 22:53:17 +0200 (CEST) Received: from sMtp.neuf.fr (sp604002mt.neufgp.fr [84.96.92.61]) by concorde.inria.fr (8.13.6/8.13.6) with ESMTP id k94KrGnJ006244 for ; Wed, 4 Oct 2006 22:53:16 +0200 Received: from [192.168.144.3] ([84.4.222.28]) by sp604002mt.gpm.neuf.ld (Sun Java System Messaging Server 6.2-5.05 (built Feb 16 2006)) with ESMTP id <0J6M00G24N26L311@sp604002mt.gpm.neuf.ld> for caml-list@inria.fr; Wed, 04 Oct 2006 21:49:19 +0200 (CEST) Date: Wed, 04 Oct 2006 21:49:56 +0200 From: Christophe Raffalli Subject: Re: [Caml-list] Custom linking with MacOSX frameworks? In-reply-to: <452F01CA-57E4-4427-AC39-F3862BF18638@epfl.ch> To: =?ISO-8859-1?Q?Daniel_B=FCnzli?= Cc: Doug Kirk , caml-list@inria.fr Message-id: <45241064.9030203@univ-savoie.fr> MIME-version: 1.0 Content-type: text/plain; charset=ISO-8859-1; format=flowed Content-transfer-encoding: 8BIT 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> <452F01CA-57E4-4427-AC39-F3862BF18638@epfl.ch> User-Agent: Thunderbird 1.5.0.7 (Macintosh/20060909) X-Miltered: at concorde with ID 45241F3C.002 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Spam: no; 0.00; christophe:01 raffalli:01 christophe:01 raffalli:01 univ-savoie:01 bunzli:01 osx:01 abstraction:01 camlimages:01 abstraction:01 camlimages:01 usefull:01 iirc:01 statically:01 imagemagick:98 Daniel Bünzli a écrit : > Le 4 oct. 06 à 18:33, Doug Kirk a écrit : > >> Try checking >> >> /System/Library/Frameworks/ApplicationServices.framework/Headers/ApplicationServices.h >> >> /System/Library/Frameworks/ApplicationServices.framework/Frameworks/ImageIO.framework/Headers/Image*.h >> >> >> for the headers. > > These headers are those of the osx specific image loading abstraction. > Camlimages doesn't use this abstraction so there is no chance you'll > be able to compile camlimages using these headers. What you want is > png.h, jpeglib.h, tiff.h, etc. Anyway as I told in my previous email > it seems that the dynamic libraries in imageio do not include all the > functions you get when you compile the corresponding 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 >> libraries, maybe ImageMagick? > > Doesn't really make more sense. First you can use libpng without > 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 > image libraries to distribute your application. > You can an applescript OS X application with the library and the executable inside the app folder ... This is basically the same anyway. > Best, > > Daniel > > > > >