FW: Request help with compilation problem
Marc Glisse
marc.glisse at inria.fr
Fri Feb 8 15:54:26 CET 2013
On Fri, 8 Feb 2013, David Bower wrote:
> I get the following error when I run the command "gcc -lgmpxx -lgmp
> arbitraryPrecisionArithmetic_1.cpp" :
>
> arbitraryPrecisionArithmetic_1.cpp:4:19: error: gmpxx.h: No such file or
> directory
This question is not specific to GMP. You are probably missing
-I/usr/local/include, assuming it was installed in /usr/local by default.
You may (depends on your system) also need -L/usr/local/lib.
--
Marc Glisse
More information about the gmp-discuss
mailing list