error: ‘mpz_inits’ was not declared in this scope
laurent at komite.net
Mon Sep 19 18:22:48 CEST 2011
* Creatxr [Mon, Sep 19, 2011 at 11:58:00AM -0400]:
> It's my first time to use GMP library.
> What's happened with this code?
> /main.cpp|11|error: ‘mpz_inits’ was not declared in this scope|
> /main.cpp|13|error: ‘mpz_clears’ was not declared in this scope|
It's quite likely you're using a version of GMP that did not contain
mpz_inits and mpz_clears.
Fix: don't use them, or update your version of GMP.
More information about the gmp-discuss