Re: Trouble findin a library which *is* installed

"Jeremy Yallop [email protected] [ocaml_beginners]" <[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.