c++ - 在 VS2010 上构建 openssl 时出错

标签 c++ openssl

链接时出现问题,我缺少什么文件?

Visual studio 2010 error output

  • 错误 14 错误 LNK2001:无法解析的外部符号 ___umoddi3 C:\Users\Yohannes\Desktop\AES 加密\libcrypto.a(bn_word.o) Rijndael
  • 错误 11 错误 LNK2001:无法解析的外部符号 __alloca C:\Users\Yohannes\Desktop\AES Encryption\libcrypto.a(sha512.o) Rijndael
  • 错误 12 错误 LNK2001:无法解析的外部符号 __alloca C:\Users\Yohannes\Desktop\AES Encryption\libcrypto.a(err_prn.o) Rijndael
  • 错误 15 error LNK2019:函数 _fmtint C:\Users\Yohannes\Desktop\AES 中引用了未解析的外部符号 ___udivdi3 加密\libcrypto.a(b_print.o) Rijndael
  • 错误 13 error LNK2019:函数 _fmtint C:\Users\Yohannes\Desktop\AES 中引用了未解析的外部符号 ___umoddi3 加密\libcrypto.a(b_print.o) Rijndael
  • 错误 10 错误 LNK2019:函数中引用了未解析的外部符号 __alloca _OPENSSL_isservice C:\Users\Yohannes\Desktop\AES 加密\libcrypto.a(cryptlib.o) Rijndael -

最佳答案

根据:http://aluigi.freeforums.org/post4997.html

link it to libcrypto.a, it's the static library.

if you don't have it:
http://gnuwin32.sourceforge.net/packages/openssl.htm

关于c++ - 在 VS2010 上构建 openssl 时出错,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/12164371/

相关文章:

c++ - 什么是 'shebang' 行?

c++ - 在Visual Studio中查找非法的内存访问

openssl - 如何在没有私钥的情况下创建 .p12 或 .pfx 文件?

php - 使用 OpenSSL 编译 PHP 7.2

random - Openssl RAND_bytes 算法

attributes - 创建期间的 openssl 自定义属性

c++ - 寻找用于 windows、c 或 c++ 的 TCP 套接字编程的最简单(也是最快)示例

c++ - 如何使用 OpenCV 从已知的 3D 点云(没有 I 构建)估计新图像 I 的相机姿态矩阵

c++ - 2 解决虚方法二义性继承的方法

compiler-errors - 在Solaris Sparc 11下强制使用Sun Studio在./configure中进行编译(而不是cc)