caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: "Daniel Bünzli" <daniel.buenzli@epfl.ch>
To: Christophe Raffalli <Christophe.Raffalli@univ-savoie.fr>
Cc: Julien Blond <julien.blond@gmail.com>, caml-list@inria.fr
Subject: Re: [Caml-list] Custom linking with MacOSX frameworks?
Date: Wed, 4 Oct 2006 00:35:41 +0200	[thread overview]
Message-ID: <01C8EC74-7DA0-4F85-81A5-6B1B8D123316@epfl.ch> (raw)
In-Reply-To: <4522BE3D.1060600@univ-savoie.fr>


Le 3 oct. 06 à 21:47, Christophe Raffalli a écrit :

> By the way if someone know which framework to use to compile  
> camlimages with the maximum number of file format without depending  
> upon fink library ...

There is the ImageIO.framework.

 > cd /System/Library/Frameworks/ApplicationServices.framework/ 
Frameworks/ImageIO.framework/Resources/
 > ls *.dylib
libGIF.dylib*           libJPEG.dylib*           
libPng.dylib*           libRaw.dylib*
libJP2.dylib*           libOpenEXR.dylib*        
libRadiance.dylib*      libTIFF.dylib*

But header files are not included (these libraries are used to  
implement an osx specific abstraction). Moreover, by looking at the  
output of

 > otool -T -v *.dylib

it seems to me that not every symbol defined by these libraries are  
exported.

>> Well, I don't use Glut for I prefer the more "customizable" SDL  
>> framework. It may work better with it?
> Which binding ? I might give it a try ? By customizable, you mean  
> access to the OS X menu bar ?

ocamlsdl I guess. IIRC you don't have access to the menu bar in SDL  
apps. But you don't have inversion of control -- you own the main  
loop -- maybe that's what he meant by more "customizable". Compared  
to glut, a limitation you get is that you can have only one window to  
render (this limitation will be lifted in the upcoming version 1.3).

Daniel


  parent reply	other threads:[~2006-10-03 22:34 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-10-03 11:10 Julien Blond
2006-10-03 14:02 ` [Caml-list] " Christophe Raffalli
2006-10-03 15:05   ` Julien Blond
2006-10-03 19:47     ` Christophe Raffalli
2006-10-03 20:18       ` Shivkumar Chandrasekaran
2006-10-03 22:35       ` Daniel Bünzli [this message]
2006-10-04 16:33         ` Doug Kirk
2006-10-04 17:28           ` Daniel Bünzli
2006-10-04 19:49             ` Christophe Raffalli

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=01C8EC74-7DA0-4F85-81A5-6B1B8D123316@epfl.ch \
    --to=daniel.buenzli@epfl.ch \
    --cc=Christophe.Raffalli@univ-savoie.fr \
    --cc=caml-list@inria.fr \
    --cc=julien.blond@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).