为什么我得到:

undefined reference to `CryptAcquireContext(unsigned int**, char const*, char const*, unsigned long, unsigned long)@20'

我使用的MINGW32编译器套件。

有帮助吗?

解决方案

某些代码是肯定为了这里。否则,我们可以推测的唯一的是,接头是无法找到CryptAcquireContext函数的合适的定义(这可能是由于缺少参考Advapi32.lib文件)。

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top