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: | Julien Blond <julien.blond@g...> |
| Subject: | Re: [Caml-list] Custom linking with MacOSX frameworks? |
> I do that for GlSurf and I use Glut ! Cool! I took a look at your Makefile and I found the answer to my question. Actually I didn't think to pass the -framework <name> with the double quotes to the C compiler. So, if this compilation issue does interest somebody, here is the "trick". To "custom link" with MacOSX frameworks, the compilation command must looks like : ocamlc -custom <files needed> -o <executable name> -cclib -lobjc - ccopt "-framework <name>" ... Thanks to Cristophe! :-) > The window has an acqua look, but no way to customize the menubar ... Well, I don't use Glut for I prefer the more "customizable" SDL framework. It may work better with it? -- Julien Blond LIP6/Bertin Technologies