[m-users.] Beginner question: How to use an installed library

Julien Fischer jfischer at opturion.com
Fri Sep 4 20:51:14 AEST 2015


Hi,

On Fri, 4 Sep 2015, Dirk Ziegemeyer wrote:

> It’s my first time that I want to install and use an external Mercury library. I followed the instructions in the user guide but wasn’t successful.
>
> First I installed Julien’s mercury_csv library:
> $ make INSTALL_PREFIX=/Users/dirk/temp/mercury_csv install
>
>
> Then I try to use the library:
> csv-test dirk$ mmc --make infer_desc_ex --ml libmercury_csv --mld /Users/dirk/temp/mercury_csv/lib/mercury
                                           ^^^^^^^^^^^^^^^^^^^
That should be:

      --ml mercury_csv

(i.e. without the lib prefix)

Julien.


More information about the users mailing list