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

Dirk Ziegemeyer dirk at ziegemeyer.de
Fri Sep 4 21:07:29 AEST 2015

Hi Julien,

>> 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)

Thank you - it compiles now.


More information about the users mailing list