Request help with compilation problem - second request

bodrato at mail.dm.unipi.it bodrato at mail.dm.unipi.it
Sat Feb 9 11:49:31 CET 2013


Ciao,

Il Sab, 9 Febbraio 2013 10:07 am, David Bower ha scritto:
> SECOND REQUEST:

> -- This is an extremely frustrating problem.  Any help would be
> appreciated.

I suggest you to invest your own time to read instructions. It will help
you and it will not be frustrating for the readers of this list.

You can start from the GMP manual:
http://gmplib.org/manual/
in particular
http://gmplib.org/manual/Installing-GMP.html
and
http://gmplib.org/manual/Notes-for-Particular-Systems.html

Then please read the manual of the compiler (if it doesn't find a library,
maybe you need to suggest it where to search), and the manual of the
system you are using (if you compile for dynamic-linking, the linker will
have to search for the library too...).

> and compile with "g++ -lgmpxx -lgmp ../arbitraryPrecisionArithmetic_1.cpp"
[...]
> 4.  Instead I get the following error:  ld: library not found for -lgmpxx

Maybe "-I. -L.libs/" can help...
...but you have to read the manual of "g++" to know the correct order of
parameters for your system.

-- 
http://bodrato.it/papers/



More information about the gmp-discuss mailing list