From: Markus Mottl <markus@oefai.at>
To: Johann Spies <jspies@sun.ac.za>
Cc: caml-list@inria.fr
Subject: Re: [Caml-list] Ocamlmakefile and Lablgtk
Date: Mon, 12 Nov 2001 18:59:39 +0100 [thread overview]
Message-ID: <20011112185939.B4777@chopin.ai.univie.ac.at> (raw)
In-Reply-To: <20011112153648.A736@adept.co.za>; from jspies@sun.ac.za on Mon, Nov 12, 2001 at 15:36:48 +0200
On Mon, 12 Nov 2001, Johann Spies wrote:
> --------------------------------------------------------
> OCAMLMAKEFILE=/usr/share/ocaml-tools/OcamlMakefile
> SOURCES=calc.ml
> RESULT=calc
> LIBS=lablgtk gtkInit
> INCDIRS=+lablgtk
> OCAMLFLAGS=-labels
> include $(OCAMLMAKEFILE)
> ----------------------------------------------------------
[snip]
> How do I inform the compiler through Ocamlmakefile to use options
> gtkInit.cmx as in
I assume the problem is that you haven't specified where to find
libraries. Note that INCDIRS is only for interface files (.cmi), whereas
LIBDIRS is necessary if there are libraries in the directory against
which you want to link. Therefore, add this line:
LIBDIRS=+lablgtk
Hope that helps!
Regards,
Markus Mottl
--
Markus Mottl markus@oefai.at
Austrian Research Institute
for Artificial Intelligence http://www.oefai.at/~markus
-------------------
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
next prev parent reply other threads:[~2001-11-12 18:01 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-11-12 13:36 Johann Spies
2001-11-12 17:59 ` Markus Mottl [this message]
2001-11-12 22:17 ` Johann Spies
2001-11-12 23:40 ` Markus Mottl
2001-11-13 8:10 ` Florian Hars
2001-11-13 8:54 ` Markus Mottl
2001-11-14 13:57 ` Jacques Garrigue
2001-11-14 14:10 ` Markus Mottl
2001-11-13 12:37 ` Johann Spies
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=20011112185939.B4777@chopin.ai.univie.ac.at \
--to=markus@oefai.at \
--cc=caml-list@inria.fr \
--cc=jspies@sun.ac.za \
/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