windows10编译安装openssl-1.1.0h

需要下载的软件
strawberryperl
nasm
openssl

编译过程,先是需要perl产生makefile配置,然后调用nmake编译,如果不需要nasm,编译参数加no-asm,安装过程也需要perl

使用ActivePerl-5.24.3.2404-MSWin32-x64-404865报错,但是nmake确实可以在命令行使用

It looks like you don't have either nmake.exe or dmake.exe on your PATH,
so you will not be able to execute the commands from a Makefile.  You can
install dmake.exe with the Perl Package Manager by running:

    ppm install dmake

打开,VS2015 x64 本机工具命令提示符

cd /d  /path/to/opensslsource
perl Configure VC-WIN64A
nmake
nmake test
nmake install

默认安装位置

For VC-WIN32, the following defaults are use:

     PREFIX:      %ProgramFiles(86)%\OpenSSL
     OPENSSLDIR:  %CommonProgramFiles(86)%\SSL

 For VC-WIN64, the following defaults are use:

     PREFIX:      %ProgramW6432%\OpenSSL
     OPENSSLDIR:  %CommonProgramW6432%\SSL

perl Configure 可选参数

perl Configure [类型] no-asm --prefix="[输出目录]"
类型:
debug-VC-WIN32
VC-WIN32
debug-VC-WIN64A
VC-WIN64A
  • 1
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值