Re: Can't compile with cairo2
| Newsgroups | gmane.comp.lang.ocaml.beginners |
|---|---|
| Organization | University of Mons |
| Message-ID | <20150203.233058.1237274190114333137.Christophe.Troestler@umons.ac.be> |
Hi, On Tue, 3 Feb 2015 22:33:34 +0100, Sébastien Dailly [email protected] [ocaml_beginners] wrote: > > Hello, > > I just installed cairo2 from opam, but when I try to compile some code I > got a link error : > > > $ ocamlfind ocamlc -package cairo2 test.ml You need to use $ ocamlfind ocamlc -package cairo2 -linkpkg test.ml Best, C.