0. 环境准备
* 64 位 Windows 系统,比如 Windows Server 2012 R2 Standard edition
1. 安装 Visual Studio 2015 with Update 1
注:
* 用 VS 2015 Update 3 编译会有问题; https://github.com/bitshares/bitshares-core/issues/389
* 本人没试过其他版本
1.1 下载 VS 2015 Update 1
http://download.microsoft.com/download/5/7/A/57A99666-126E-42FA-8E70-862EDBADD215/vs2015.1.com_enu.iso
Visual Studio Community 2015 with Update 1 (x86 and x64) – DVD (English)
SHA1:FB5AE6B57BDC495AFB29646AFCA088756363A263
1.2 使用虚拟光驱软件加载上述 iso 文件
如果没有虚拟光驱软件,可以用 WinCDEmu ,下载地址 http://wincdemu.sysprogs.org/download/
1.3 安装 VS 2015
安装时选 C++
2. 编译 OpenSSL
2.0 参考资料
http://p-nand-q.com/programming/windows/building_openssl_with_visual_studio_2013.html
http://developer.covenanteyes.com/building-openssl-for-visual-studio/
https://www.npcglib.org/~stathis/blog/precompiled-openssl/
http://blog.csdn.net/fireroll/article/details/51242518
注:虽然上面一些链接里提供已经编译好的 OpenSSL 库供下载,但本人在使用过程中碰到过问题,最后还是自己从源码编译解决。
2.1 下载安装 active perl
https://www.activestate.com/activeperl/downloads
2.2 下载安装 NASM
http://www.nasm.us/
http://www.nasm.us/pub/nasm/releasebuilds/2.13.01/win64/nasm-2.13.01-installer-x64.exe
如果不装 NASM &#x