链接时出现问题,我缺少什么文件?
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/