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:\Windows\System32 (or in your path)

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

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

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

猜你喜欢

转载自www.cnblogs.com/zhangdongsheng/p/12232065.html