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

相关推荐
笨鸟先飞,勤能补拙9 小时前
从预测到决策:人工智能与机器学习的系统方法、工程闭环与现实边界
大数据·人工智能·windows·python·机器学习·密码学
程序员-李俞10 小时前
Mistral OCR 4真正改变的不是“识字”:文档AI正在变成Agent的数据入口
人工智能·windows·ai作画·aigc·ocr·ai编程·ai写作
C++ 老炮儿的技术栈11 小时前
Qt5.9.1 Windows 完整开发环境搭建流程
开发语言·c++·windows·qt·编辑器·代码化
笨鸟先飞,勤能补拙12 小时前
AI与深度学习:从原理到应用
人工智能·windows·vscode·深度学习·机器学习·网络安全·github
bkspiderx12 小时前
从零开始:VS Code搭建C/C++开发环境全指南(Windows/macOS/Linux)
c语言·c++·windows·vs code·c/c++开发环境
Rudon滨海渔村13 小时前
镜像转换esd转iso - VMware虚拟机如何安装或恢复(.esd)的Windows系统
windows·vmware·iso·esd
西安景驰电子14 小时前
《PTP精确时间协议系列》第二篇:工程部署、调试与性能优化
运维·服务器·网络·数据库·windows·性能优化
问天_观心15 小时前
零基础在windows环境下的WSL使用llamafactory(一)
人工智能·windows·python·神经网络·语言模型·github·模型蒸馏
xrkhy15 小时前
redis-shake的使用windows版本
数据库·windows·redis
我一定会有钱16 小时前
打造完美工作流:Git 配置”一次推送,三端同步”(Gitee/GitCode/GitHub)
开发语言·windows·vscode·搜索引擎·gitlab·github·visual studio code