Error in linking with mpz_class in ostream

Georg Lippold georg.lippold at gmx.de
Fri Oct 10 00:12:46 CEST 2008


On 2008-10-10 01:23, Marc Glisse wrote:
> On Thu, 9 Oct 2008, Georg Lippold wrote:
> 
>> The code compiles fine, however the linker fails with the following
>> message:
> 
> My crystal ball tells me you forgot -lgmpxx.

You've got a very good crystal ball over there. I had only -lgmp.

> But honestly, how could we tell you what you did wrong if you don't tell
> us what you did (command line for instance)?

Well, I forgot that because I'm using a managed make project in Eclipse
and didn't think about the makefile.

Thanks!

Georg


More information about the gmp-bugs mailing list