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 小时前
Ollama Windows 安装与使用全指南:零配置本地运行 Llama、DeepSeek 等大模型,保障隐私与高效体验
windows
keep the3 小时前
Windows启动IOS17/18的WDA
windows·ios·自动化
取个名字太难了a3 小时前
intel白皮书卷2 第二章(AI翻译)
windows
爱编码的傅同学3 小时前
【线程同步】信号量与环形队列的生产消费模型
linux·windows·ubuntu·centos
专注VB编程开发20年4 小时前
如何强制ANY CPU的.net程序按32位或64位模式运行?
windows·.net
yaoxin5211237 小时前
303. Java Stream API - 查找元素
java·windows·python
z.q.xiao8 小时前
【镜像模式】WSL如何访问windows内网服务
linux·网络·windows·gitlab·wsl·dns
gf13211118 小时前
python_生成RPA运行数据报告
windows·python·rpa
FL16238631299 小时前
Windows上GPU版本的Paddle Inference3.2.1安装和使用教程
windows·paddle
嘴贱欠吻!21 小时前
Kuikly搭建OpenHarmony教程01:源码构建与运行(Windows)
windows