Hello, For caml-list readers who do not speak French, the initial question is about the compilation of an ocamlyacc parser which uses the OcamlGraph library. Le 14 juin 2010 17:32, Rabea Ameur-Boulifa < Rabea.Ameur-Boulifa@telecom-paristech.fr> a écrit : > J'utilise la librairie ocamlgraph pour la génération d'automates (LTS)... > Je vous explique mon problème qui n'est pas un problème de Ocamlgraph mais > d'utilisation avec Ocamlyacc. > > *La compilation donne ceci* > ocamlc -c parser.mli > File "parser.mli", line 41, characters 48-72: > Unbound type constructor Graph.Builder.I(LTS).G.t > I don't know which build system (make, ocamlbuild, OcamlMakefile, etc) you are using but you must add the directory where OcamlGraph is installed to the list of directories searched for compiled files: ocamlc -c -I +ocamlgraph parser.mli The above line assumes a standard OcamlGraph installation. Hope this helps, Julien PS: this kind of question should be posted on the beginner's list ( http://tech.groups.yahoo.com/group/ocaml_beginners)