【问题标题】:Error Building openssl on VS2010在 VS2010 上构建 openssl 时出错
【发布时间】:2012-08-28 17:22:21
【问题描述】:

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

Visual Studio 2010 错误输出

  • 错误 14 错误 LNK2001:未解析的外部符号 ___umoddi3 C:\Users\Yohannes\Desktop\AES Encryption\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 错误 LNK2019:函数 _fmtint C:\Users\Yohannes\Desktop\AES 中引用的未解析外部符号 ___udivdi3 加密\libcrypto.a(b_print.o) Rijndael
  • 错误 13 错误 LNK2019:函数 _fmtint C:\Users\Yohannes\Desktop\AES 中引用的未解析外部符号 ___umoddi3 加密\libcrypto.a(b_print.o) Rijndael
  • 错误 10 错误 LNK2019:函数中引用的外部符号 __alloca 无法解析 _OPENSSL_isservice C:\Users\Yohannes\Desktop\AES Encryption\libcrypto.a(cryptlib.o) Rijndael -

【问题讨论】:

    标签: c++ openssl


    【解决方案1】:

    根据: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
    

    【讨论】:

    猜你喜欢
    • 2015-10-31
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2022-10-20
    • 2016-04-04
    • 2022-12-22
    • 2015-05-25
    相关资源
    最近更新 更多