Questions tagged «crypto++»

4
检测到“ RuntimeLibrary”不匹配
我在C:\ cryptopp中下载并提取了Crypto ++。我使用Visual Studio Express 2012构建了内部的所有项目(如自述文件中所述),并且一切均已成功构建。然后,我在其他文件夹中创建了一个测试项目,并添加了cryptolib作为依赖项。之后,我添加了include路径,以便可以轻松包含所有标头。尝试编译时,出现有关未解析符号的错误。 为了解决这个问题,我添加C:\cryptopp\Win32\Output\Debug\cryptlib.lib了链接其他依赖项的链接。现在我得到这个错误: Error 1 error LNK2038: mismatch detected for 'RuntimeLibrary': value 'MTd_StaticDebug' doesn't match value 'MDd_DynamicDebug' in program.obj C:\Data\Work\C++ VS\CryptoTest\CryptoTest\cryptlib.lib(cryptlib.obj) CryptoTest Error 2 error LNK2038: mismatch detected for 'RuntimeLibrary': value 'MTd_StaticDebug' doesn't match value 'MDd_DynamicDebug' in program.obj C:\Data\Work\C++ VS\CryptoTest\CryptoTest\cryptlib.lib(iterhash.obj) CryptoTest Error 3 error LNK2038: mismatch …
By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.