win系统下编译openssl

2019-9-13 admin 备忘

系统环境: win10 64位

开发环境: vs2013

openssl版本: openssl-OpenSSL_1_1_1-stable.zip

perl版本: ActivePerl-5.26.1.2601-MSWin32-x64-404865.exe

nasm版本: nasm-2.14.02-installer-x86.exe


解压openssl

进入D:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\Tools\Shortcuts 打开 VS2013 开发人员命令提示

cd到openssl解压出的文件目录

@set path=C:\Users\admin\AppData\Local\bin\NASM;%path%    // 设置nasm路径 

ppm install dmake  

perl D:\完整路径\Configure VC-WIN32

nmake


64位编译方法

ppm install dmake  

perl D:\完整路径\Configure VC-WIN64A --prefix=C:\openssl路径

nmake



执行nmake编译过程中需要有rc.exe

我的在C:\Program Files (x86)\Windows Kits\8.1\bin\x86


标签: C++

发表评论:

Powered by emlog

浙ICP备17021512号 |浙公网安备 33010602008237号