From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from mail1-relais-roc.national.inria.fr (mail1-relais-roc.national.inria.fr [192.134.164.82]) by yquem.inria.fr (Postfix) with ESMTP id 40E56BBAF for ; Mon, 14 Jun 2010 18:52:53 +0200 (CEST) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AjABANL6FUxKfVI2mGdsb2JhbACBQ5B0jEIIFQEBAQEBCAkMBxEisFOCA4UVLohPAQEDBYUVBA X-IronPort-AV: E=Sophos;i="4.53,415,1272837600"; d="scan'208";a="61313256" Received: from mail-ww0-f54.google.com ([74.125.82.54]) by mail1-smtp-roc.national.inria.fr with ESMTP; 14 Jun 2010 18:52:52 +0200 Received: by mail-ww0-f54.google.com with SMTP id 18so71586wwi.27 for ; Mon, 14 Jun 2010 09:52:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=QMzEAzAJ9XAkm6LbgF2CX2ilIMlwjqBKWrIQuWOaPuM=; b=LPI9U3IUt2Qk5jPE1tRLl+ucfvrQBkvO2NbC790A11IoKPYmwcP7LPZQKnzikGr/uj uqs05fM6dxg4bGRUMAmrGf/0qB69A5YyeCDFTTKgIoZu0SFWBHIi6CR0NpKtqI0raGsE lffg4dc6QExssG5eHbFbh4nnYvtjzK/QuoRPM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=oGMoppnEetxUqwi04OJT29N2fp+mXdJZM94dM/NJAcyZBsUdeD8nFYtw3SiQ5Du2km E+Na17TJDYqccJO/aOTIrpqtNszB9tokSuJ2FzE35EdxEgXZBMTTcCTe0akwTa+DOq1C ByQ2n5WBSdTZC5JneqQAcYYhGbuVihSpryq08= MIME-Version: 1.0 Received: by 10.216.163.79 with SMTP id z57mr2647532wek.17.1276534372820; Mon, 14 Jun 2010 09:52:52 -0700 (PDT) Received: by 10.216.170.6 with HTTP; Mon, 14 Jun 2010 09:52:52 -0700 (PDT) In-Reply-To: <4C164B80.2080202@telecom-paristech.fr> References: <4C164B80.2080202@telecom-paristech.fr> Date: Mon, 14 Jun 2010 18:52:52 +0200 Message-ID: Subject: Re: [Caml-list] Help Utilisation de modules avec Ocamlyacc... From: Julien Signoles To: Rabea Ameur-Boulifa Cc: caml-list@inria.fr Content-Type: multipart/alternative; boundary=00163642759dd5e85c04890051d6 X-Spam: no; 0.00; ocamlyacc:01 signoles:01 signoles:01 compilation:01 ocamlyacc:01 parser:01 d'automates:01 compilation:01 ocamlc:01 parser:01 mli:01 mli:01 ocamlc:01 beginner's:01 ocaml:01 --00163642759dd5e85c04890051d6 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hello, For caml-list readers who do not speak French, the initial question is abou= t 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 =E9crit : > J'utilise la librairie ocamlgraph pour la g=E9n=E9ration d'automates (LTS= )... > Je vous explique mon probl=E8me qui n'est pas un probl=E8me 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) --00163642759dd5e85c04890051d6 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hello,

For caml-list readers who do not speak French, the initial qu= estion is about the compilation of an ocamlyacc parser which uses the Ocaml= Graph library.

Le 14 juin 2010 17:32, Rab= ea Ameur-Boulifa <Rabea.Ameur-Boulifa@telecom-paristech.fr> a =E9crit :
J'utilise la = librairie ocamlgraph pour la g=E9n=E9ration d'automates (LTS)... Je vou= s explique mon probl=E8me qui n'est pas un probl=E8me de Ocamlgraph mai= s d'utilisation avec Ocamlyacc.

*La compilation donne ceci*
ocamlc -c =A0parser.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)= =A0 you are using but you must add the directory where OcamlGraph is instal= led to the list of directories searched for compiled files:

ocamlc -c -I +ocamlgraph parser.mli
=A0
The a= bove line assumes a standard OcamlGraph installation.

Hope this help= s,
Julien

PS: this kind of question should be posted = on the beginner's list (http://tech.groups.yahoo.com/group/ocaml_beginners)
--00163642759dd5e85c04890051d6--