【发布时间】:2015-04-27 02:47:41
【问题描述】:
在 Windows 中,我正在构建一个 C++ 项目,我在使用 GMP 库的 Linux 中工作。我正在使用预编译的静态 MinGW 库并包含来自此处的文件 - http://cs.nyu.edu/~exact/core/gmp/index.html
一切似乎都很顺利(mpz_init、mpz_mul 等),除非我到达 mpz_powm_sec()。
mpz_powm_sec(m, c, d, n);
那行给出:
error: 'mpz_powm_sec' was not declared in this scope
但我对 GMP 的其他引用都没有。有谁知道为什么会发生这种情况以及我可以做些什么来使它编译?
【问题讨论】: