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

相关推荐
5***g2981 小时前
Windows安装Rust环境(详细教程)
开发语言·windows·rust
吴声子夜歌1 小时前
Windows——PowerShell
windows
极简之美3 小时前
Mac 远程连接 Windows 简明教程(2025 实测版)
windows·macos
电脑小管家4 小时前
蝰蛇鼠标驱动怎么安装?全型号驱动下载方法汇总
windows·驱动开发·计算机外设·电脑·游戏程序
无限进步_4 小时前
C++从入门到类和对象完全指南
开发语言·c++·windows·git·后端·github·visual studio
陈鋆4 小时前
Langchain-Chatchat[三、知识库管理的 RAG]
windows·langchain
浪客川4 小时前
高效日志分离器:一键筛选关键信息
开发语言·windows·c#
7***99874 小时前
Redis——Windows安装
数据库·windows·redis
love530love4 小时前
【ComfyUI/SD环境管理指南(二)】:如何避免插件安装导致的环境崩溃与“外科手术式”修复
人工智能·windows·python·stable diffusion·github·aigc·comfyui
聪明努力的积极向上4 小时前
【WINDOWS】电脑外接显示屏突然无效(戴尔Inspiron 15 3511)
windows·电脑