From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on yquem.inria.fr X-Spam-Level: ** X-Spam-Status: No, score=2.8 required=5.0 tests=DNS_FROM_RFC_POST, HTML_MESSAGE,SPF_NEUTRAL autolearn=disabled version=3.1.3 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 6B7AFBBAF for ; Fri, 26 Jun 2009 10:27:48 +0200 (CEST) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AkACAKsjRErRVdrPkWdsb2JhbACCJy2VZD8BAQEBCQkMBxGkWoEZkCcBAwIEhAkF X-IronPort-AV: E=Sophos;i="4.42,295,1243807200"; d="scan'208";a="31978482" Received: from mail-bw0-f207.google.com ([209.85.218.207]) by mail1-smtp-roc.national.inria.fr with ESMTP; 26 Jun 2009 10:27:48 +0200 Received: by bwz3 with SMTP id 3so1990741bwz.27 for ; Fri, 26 Jun 2009 01:27:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=WJX2uSx1khLcJiCON5a1BT4gadSd9RNXtFygAVUyCNY=; b=BBowEUScgGGNuggOdjQ1+nKWhZXrXToW62JKjA9fxEzqL0JapXTUxRj3EJ3fQYReFO kjjrUjqtyUGtgfOtvC7hIVoPIDWvo7aHWu82SYnNzWzfMi7ZRmXKvDDSpRIt5jDpWXQI vovOG1Pak/SWzgV2F6/30X7h81K3DH2aH7vl8= 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=MWCV3m9daDVAFywJOQEWy6J+WTSz7SinRuXFwN9ETEDfpcuG7T6wuYq4VAJp0uvizB 1KhrAiZjvQzfb7mA51M9KVEOg7wAzHbRzOx1n6pA8bvJFn8sZeIN54OqhPvDUSkTvZAz Xv+8bZrQFCtDo7puzoVXjyjTCBflIwjwa31Gk= MIME-Version: 1.0 Received: by 10.239.157.140 with SMTP id q12mr326006hbc.80.1246004866832; Fri, 26 Jun 2009 01:27:46 -0700 (PDT) In-Reply-To: <004a01c9f5ba$a3515b70$e9f41250$@metastack.com> References: <8401c38a0906250959r5c99eac1g55a77e002dbf7ac3@mail.gmail.com> <004a01c9f5ba$a3515b70$e9f41250$@metastack.com> Date: Fri, 26 Jun 2009 09:27:46 +0100 Message-ID: <8401c38a0906260127n52eb612ek61d5d5f37dfda51@mail.gmail.com> Subject: Re: [Caml-list] ocamlgraph From: Ligia Nistor To: David Allsopp Cc: caml-list@yquem.inria.fr Content-Type: multipart/alternative; boundary=0016364c713d79d8a2046d3c1dea X-Spam: no; 0.00; toploop:01 cmi:01 lri:01 cmo:01 usr:01 lib:01 ocaml:01 usr:01 lib:01 ocaml:01 printf:01 toploop:01 cmi:01 lri:01 printf:01 --0016364c713d79d8a2046d3c1dea Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Thanks, this solved my problem. On Thu, Jun 25, 2009 at 6:30 PM, David Allsopp wrote: > You need to say > > > > #directory "ocamlgraph";; > > > > Before you #use your file so that the toploop can find graph.cmi > > > > > > David > > > > *From:* caml-list-bounces@yquem.inria.fr [mailto: > caml-list-bounces@yquem.inria.fr] *On Behalf Of *Ligia Nistor > *Sent:* 25 June 2009 18:00 > *To:* caml-list@yquem.inria.fr > *Subject:* [Caml-list] ocamlgraph > > > > Hi, > > I am trying to use ocamlgraph, but I am getting the error "Unbound module > Graph". I have the file demo.ml(from the site http://ocamlgraph.lri.fr/) > which contains the line "open Graph". I write in the interpreter "#load > ocamlgraph/graph.cmo" and it finds it. But then when I write #use "demo.ml", > I get the above error. > > I copied the content of the folder \usr\lib\ocaml\3.10.2\ocamlgraph (which > includes the graph files) to \usr\lib\ocaml\3.10.2\ ,where all the other > implemented modules are( such as List, Printf).After I did this, the error > "unbound module Graph" disappeared. But I want to leave the graph files in > the folder usr\lib\ocaml\3.10.2\ocamlgraph and show to the interpreter > where to find Graph module. > > How can I do this? > > Thanks, > Ligia > --0016364c713d79d8a2046d3c1dea Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Thanks, this solved my problem.


On Th= u, Jun 25, 2009 at 6:30 PM, David Allsopp <dra-news@metastack.com> wrote:=

You need to say

=A0

=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0=A0 #directory "ocamlgraph";;

=A0

Before you #use your file so that the toploop can find graph.cmi

=A0

=A0

David

=A0

From: caml-list-bounces@yquem.inria.fr [mailto:caml-list-bounces@yquem.inria.fr] On Behalf Of Ligia Nistor Sent: 25 June 2009 18:00
To: ca= ml-list@yquem.inria.fr
Subject: [Caml-list] ocamlgraph

=A0

Hi,

I am trying to use ocamlgraph, but I am getting the=A0 error "Unbound module Graph". I have the file demo.ml(from the site http://oca= mlgraph.lri.fr/) which contains the line "open Graph". I write in the interpreter "#load ocamlgraph/graph.cmo" and it finds it. But then when I wri= te #use "demo.ml",= I get the above error.

I copied the content of the folder \usr\lib\ocaml\3.10.2\ocamlgraph=A0 (which includes the graph files) to \usr\lib\ocaml\3.10.2\ ,where all the o= ther implemented modules are( such as List, Printf).After I did this, the error "unbound module Graph" disappeared. But I want to leave the graph= files in the folder usr\lib\ocaml\3.10.2\ocamlgraph=A0 and show to the interprete= r where to find Graph module.

How can I do this?

Thanks,
Ligia


--0016364c713d79d8a2046d3c1dea--