OpenSSL使用Visual Studio 2015构建在Windows 10上

时间:2016-11-11 17:27:26

标签: visual-studio perl openssl

当我尝试构建OpenSSL时发生以下错误:

Compile error

错误

link /nologo /subsystem:console /opt:ref /debug /out:out32\md4test.exe @C:\Users\DIEGO~1.J
ES\AppData\Local\Temp\nmFB55.tmp
libeay32.lib(cryptlib.obj) : error LNK2019: unresolved external symbol __iob_func referenc
ed in function OPENSSL_showfatal
libeay32.lib(cryptlib.obj) : error LNK2001: unresolved external symbol __iob_func
libeay32.lib(pem_lib.obj) : error LNK2001: unresolved external symbol __iob_func
libeay32.lib(ui_openssl.obj) : error LNK2001: unresolved external symbol __iob_func
out32\md4test.exe : fatal error LNK1120: 1 unresolved externals
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\am
d64\link.EXE"' : return code '0x460'

我遵循的步骤(Windows 10 64位):

  1. perl配置VC-WIN64A --prefix = c:\ libs \ openssl-1.0.1h \ lib64
  2. MS \ do_win64a
  3. nmake -f ms \ nt.mak
  4. 安装了Active Perl。

    通过一些搜索,我发现Visual Studio 2015与OpenSSL文件有一些兼容性问题。

    有人能告诉我什么是错的吗?

0 个答案:

没有答案
相关问题