Re: Trouble findin a library which *is* installed
| Newsgroups | gmane.comp.lang.ocaml.beginners |
|---|---|
| Message-ID | <CAAxsn=HcPaTzqcgSbf2hPL35FiMHE78M5pUF+tMutkryNGD+5Q@mail.gmail.com> |
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