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

相关推荐
2601_962364972 小时前
从录入到解锁,完整梳理 Windows Hello 识别链路
windows·安全·电脑
hacker_LeeFei2 小时前
Windows 下配置 Redis 8.10.2 开机自启:一次踩坑全记录
数据库·windows·redis
赵文宇(温玉)4 小时前
怎么下载 Windows 的 ISO 系统镜像
windows
2601_962177306 小时前
Windows 安装 Codex CLI 入门级教程
人工智能·windows·node.js·ai编程
shada8 小时前
CMake指定 MSVC 工具集与 Windows SDK
c++·windows
the3clipse8 小时前
Windows 10 与 Windows 11 视频编解码区别:AV1、HEVC、HDR 与 D3D12 编码支持对比
windows·h.265·hevc·hdr·av1·视频解码·d3d12
郭庆汝8 小时前
(三)MCP+A2A 从0到1构建类Manus多Agent全栈应用
windows
the3clipse9 小时前
MacOS、Linux 与 Windows 视频编解码对比:AV1、HEVC、ProRes 与硬件加速优劣势
linux·windows·macos·hevc·av1·视频解码·硬件解码
明王明王9 小时前
PVE 上用 SPICE:统一连接 Debian、Arch 和 Windows 11 桌面
运维·windows·debian
学逆向的10 小时前
win32消息类型
windows·网络安全·mfc·api·win32