Windows 平台编译openssl3.3

  • 安装Perl, 添加到环境变量

[http:// http://strawberryperl.com/]( "http:// http://strawberryperl.com/")

  • 安装啊NASM, 添加到环境变量

https://www.nasm.us

  • 使用VS命令行工具

我要编译的是64位的。然后切换到openssl文件夹执行配置

  • perl Configure VC-WIN64A

可选的参数有:

  • perl Configure VC-WIN32 if you want 32-bit OpenSSL or
  • perl Configure VC-WIN64A if you want 64-bit OpenSSL or
  • perl Configure VC-WIN64-ARM if you want Windows on Arm (win-arm64) OpenSSL or
  • perl Configure VC-WIN64-CLANGASM-ARM if you want Windows on Arm (win-arm64) OpenSSL with assembly support using clang-cl as assembler or
  • perl Configure VC-CLANG-WIN64-CLANGASM-ARM if you want Windows on Arm (win-arm64) OpenSSL using clang-cl as both compiler and assembler or
  • perl Configure VC-WIN32-HYBRIDCRT if you want 32-bit OpenSSL dependent on the Universal CRT or
  • perl Configure VC-WIN64A-HYBRIDCRT if you want 64-bit OpenSSL dependent on the Universal CRT or
  • perl Configure to let Configure figure out the platform
  • 开始make, 构建时间比较长
  • nmake
  • nmake test
  • nmake install

完整编译教程参考:https://github.com/openssl/openssl/blob/openssl-3.3/NOTES-WINDOWS.md

相关推荐
一品人家1 小时前
win32汇编使用GDI+入门教程之九
汇编·windows·win32汇编
小天源6 小时前
Error 1053 Error 1067 服务“启动后立即停止” Java / Python 程序无法后台运行 windows nssm注册器下载与报错处理
开发语言·windows·python·nssm·error 1053·error 1067
十五年专注C++开发8 小时前
MinHook:Windows 平台下轻量级、高性能的钩子库
c++·windows·钩子技术·minhook
dongdonglele52110 小时前
ros2环境安装
windows
muinomarts10 小时前
【Windows挂载夸克网盘到本地 AList+Raidrive】
windows
Sharewinfo_BJ11 小时前
PowerBI 2026年1月功能更新|效率升级,体验再优化
windows·microsoft·powerbi
yaoxin52112312 小时前
314. Java Stream API - 使用 Collectors.partitioningBy() 分区元素
java·windows
云小逸13 小时前
【windows核心编程】Windows GDI编程深度解析:从消息循环到双缓冲动画的完整实现
windows
奋斗羊羊15 小时前
rocketmq 及依赖环境编译安装过程记录(windows)
windows·rocketmq
鲨辣椒1008616 小时前
Linux软件编程基石——基础指令使用
linux·windows·microsoft