26 May
2010
26 May
'10
9:31 p.m.
Hello, On Wed, May 26, 2010 at 04:21:32PM +0800, wang wayne wrote:
gmp OK,but cln gives me this error:
g++ pi.cc -I/GiNaC1/include -L/GiNaC1/lib -lcln -o pi 2>a.txt
You have to explicitly link with GMP library on Windows: g++ pi.cc -I/GiNaC1/include -L/GiNaC1/lib -lcln -lgmp -o pi 2>a.txt (GNU/Linux linker adds -lgmp on its own, unfortunately MinGW linker is not that smart). Hope this helps, Alexei