In windows 'm building a C++ project that I have working in Linux that uses the GMP library. I am using the precompiled static MinGW library and include files from here - <http://cs.nyu.edu/~exact/core/gmp/index.html>

Everything seems to go well (mpz\_init, mpz\_mul, etc.) except when I get to mpz\_powm\_sec().

```
mpz_powm_sec(m, c, d, n);

```

That line gives:

```
error: 'mpz_powm_sec' was not declared in this scope

```

Yet none of my other references to GMP do. Does anyone know why this is happening and what I can do to make it compile?