Browse thread
Custom linking with MacOSX frameworks?
[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
| Date: | -- (:) |
| From: | Daniel_Bünzli <daniel.buenzli@e...> |
| Subject: | Re: [Caml-list] Custom linking with MacOSX frameworks? |
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