Re: Trouble findin a library which *is* installed
| Newsgroups | gmane.comp.lang.ocaml.beginners |
|---|---|
| Message-ID | <[email protected]> |
On Fri, Jul 03, 2015 at 09:47:47PM +0100, Jeremy Yallop [email protected] [ocaml_beginners] wrote: > On 3 July 2015 at 20:32, Hendrik Boom [email protected] > [ocaml_beginners] <[email protected]> wrote: > > I downloaded some code as an example of using Cairo with Gdk from the web page http://www.donadeo.net/post/2008/draw-something-on-the-screen-and-interact-with-it. > > > > I try to compile it: > > > > endrik@notlookedfor:~/dv/fun/group/toy/cairo_toy$ ocamlfind ocamlopt -package gdkEvent toy_maker.mli toy_maker.ml my_interactor.ml demo_toy.ml -o runme > > ocamlfind: Package `gdkEvent' not found > > The module is called 'GdkEvent', but the package is called 'lablgtk2', > so you may need something more like this: > > ocamlfind ocamlopt -package lablgtk2 toy_maker.mli toy_maker.ml > my_interactor.ml demo_toy.ml -o runme Thanks. That gets me a lot further. Now, of course, it's asking for the Cairo module. Is there a way to find the name of the package contiaining a particular module without asking here all the time? -- hendrik