您的位置:首页 > 运维架构

WIN7中使用visual studio 2010编译openssl

2016-07-19 17:14 316 查看
下载openssl: https://www.openssl.org/source/
下载ActivePerl: http://downloads.activestate.com/ActivePerl/
安装
编译
打开命令窗口,cd 到C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\bin\amd64,运行vcvars64.bat
cd 到openssl的解压目录:C:\openssl-1.0.2h
按照C:\openssl-1.0.2h中的INSTALL.W32 / INSTALL.W64进行编译
> perl Configure VC-WIN64A no-asm

 > ms\do_win64a

 > nmake -f ms\ntdll.mak    // 若编译静态库使用 nt.mak

 > cd out32dll    // 若编译静态库,输出目录为out32
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: