From: "Dário Abdulrehman" <drehman31@gmail.com>
To: caml-list@yquem.inria.fr
Subject: [Caml-list] using third-party libraries with OCamlMakeFile
Date: Fri, 24 Nov 2006 10:07:09 +0000 [thread overview]
Message-ID: <6aeedf580611240207o65a6e226ycfcef887ea58529d@mail.gmail.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 888 bytes --]
Hi,
I posted the following message in the beginner's list and someone suggested
I repost it here.
The question is how do you use third-party libraries in your OCaml projects
that you compile with OCamlMakeFile?
I can load the library in question in the toplevel using:
#use "topfind"
#require "extlib"
but I am having trouble with makefiles.
Thanks.
> I would like to use the DynArray module from ExtLib.
>Here's what I did:
>I installed godi and using godi_console installed ExtLib.
>I installed godi at: /home/user/godi
>When I use "ocamlfind list" I saw that extlib was available so I added
>the following line to my MakeFile.
>PACKS = unix bigarray extlib
>I compiled my program with "make bc top"
>But when I try the following in the toplevel I created, the DynArray
>module is not loaded. How can I fix this?
># DynArray.create;;
>Unbound value DynArray.create
>Thanks.
[-- Attachment #2: Type: text/html, Size: 1076 bytes --]
reply other threads:[~2006-11-24 10:07 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=6aeedf580611240207o65a6e226ycfcef887ea58529d@mail.gmail.com \
--to=drehman31@gmail.com \
--cc=caml-list@yquem.inria.fr \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).