From: Alan Schmitt <alan.schmitt@polytechnique.org>
To: caml-list@inria.fr
Subject: Re: [Caml-list] Specifying a framework to link with using ocamlopt?
Date: Wed, 23 Feb 2011 15:12:31 +0100 [thread overview]
Message-ID: <72F459D0-A2D4-4DD7-B06D-B71375A581C4@polytechnique.org> (raw)
In-Reply-To: <AANLkTin_Kyrqi4H5t2aKWNFi93pAC=uhqCzAoPDfyYfL@mail.gmail.com>
(Resending, I forgot to CC the list.)
On 23 févr. 2011, at 14:33, Daniel Bünzli wrote:
> The -lGl is certainly recorded in the Gl.cmxa, see the documentation
> of the -a option here [1].
>
> You should review how this cmxa was built and installed.
It was produced using ocamlmklib:
ocamlmklib -o GL GL.cmx -framework OpenGL -lgl_stubs
The "gl_stubs" library is available in the glMLite directory, and does not seem to be the problem.
(I just read your other message, and it helped a bit.)
The strange thing is that, if I now compile by doing a "-noautolink" and re-adding the exact same library (-cclib "-framework OpenGL"), I get further (with other errors). So it seems that doing "ocamlmklib" with a framework doesn't work, but also prevents specifying the same framework later on on the command line.
Thanks for your help!
Alan
next prev parent reply other threads:[~2011-02-23 14:12 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-02-23 13:10 Alan Schmitt
2011-02-23 13:33 ` Daniel Bünzli
2011-02-23 13:40 ` Daniel Bünzli
2011-02-23 14:12 ` Alan Schmitt [this message]
2011-02-23 13:59 ` David Allsopp
2011-02-23 14:21 ` Alan Schmitt
2011-02-23 14:19 ` David Allsopp
2011-02-23 15:21 ` Alan Schmitt
2011-02-23 15:48 ` David Allsopp
2011-02-23 16:08 ` Alan Schmitt
2011-02-23 16:08 ` David Allsopp
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=72F459D0-A2D4-4DD7-B06D-B71375A581C4@polytechnique.org \
--to=alan.schmitt@polytechnique.org \
--cc=caml-list@inria.fr \
/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