vs 编译 openssl

  • Extract the source code to a new clean folder - failed appempts seem to leave a lot of crap

  • Download Nasm.exe if you don't already have it - http://www.nasm.us/. Just put it in C:WindowsSystem32 (or in your path)

  • Start the VS2017 X86 Command prompt - and run the following:

    "c:Program Files (x86)Microsoft Visual Studio 12.0VCvcvarsall.bat"
    perl Configure VC-WIN32 --prefix=C:Build-OpenSSL-VC-32
    msdo_nasm.bat
    nmake -f ms t.mak
    nmake -f ms t.mak install

要注意的一点就是编译x86的需要下载安装Nasm

原文地址:https://www.cnblogs.com/zhangdongsheng/p/12232065.html