Browse thread
[Caml-list] Ocamlmakefile and Lablgtk
[
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: | Markus Mottl <markus@o...> |
| Subject: | Re: [Caml-list] Ocamlmakefile and Lablgtk |
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