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

相关推荐
yangshuo12812 小时前
风车邮箱系统详细使用指南:Windows与Ubuntu双平台解析
linux·windows·ubuntu
技术liul2 小时前
如何在iStoreOS DHCP中排除特定IP地址
网络·windows·tcp/ip
补三补四6 小时前
操作系统:计算机世界的基石与演进
开发语言·windows·计算机外设
chuhx10 小时前
Stream API 对两个 List 进行去重操作
数据结构·windows·list
爱编程的鱼17 小时前
C# 枚举(Enum)声明与使用详解
java·windows·c#
进取星辰21 小时前
Windows 10 上运行 Ollama 时遇到 llama runner process has terminated: exit status 2
windows·llama
sukalot1 天前
Windows同步技术-使用命名对象
windows
快乐点吧1 天前
【Flume 】Windows安装步骤、配置环境
大数据·windows·flume
Java手札1 天前
Windows下Golang与Nuxt项目宝塔部署指南
开发语言·windows·golang
心灵宝贝1 天前
Postman-win64-7.2.2 安装教程(Windows 64位详细步骤)
windows·测试工具·postman