windows 下编译libcurl openssl

参考

编译libcurl-openssl

1、拉取opensssl

建议指定为最新的发布版本

bash 复制代码
git clone -b openssl-3.1.3 --recurse-submodules https://github.com/openssl/openssl.git
2、拉取curl

建议指定为最新的发布版本

bash 复制代码
git clone -b curl-8_3_0 --recurse-submodules https://github.com/curl/curl.git
3、编译openssl

-VSpath 设置为你的vs路径

-perlpath 设置为perl路径

bash 复制代码
cd curl\projects
build-openssl vc14.2 x64 release ../../openssl -VSpath "D:\Microsoft Visual Studio\2019\Enterprise" -perlpath C:\Strawberry
如果编译openssl出现错误,则可能是环境不干净重新安装sdk
剩余 参照文章开头的参考即可,注意上述的14.2为 vs2019 原项目中没有,因此编译时需要手动修改包含位置


相关推荐
MSTcheng.2 分钟前
【C++】C++11新特性(二)
java·开发语言·c++·c++11
愚者游世4 分钟前
Delegating Constructor(委托构造函数)各版本异同
开发语言·c++·程序人生·面试·改行学it
小镇敲码人6 分钟前
探索华为CANN框架中的ACL仓库
c++·python·华为·acl·cann
浩浩测试一下32 分钟前
内网---> WriteOwner权限滥用
网络·汇编·windows·安全·microsoft·系统安全
liu****39 分钟前
2.深入浅出理解虚拟化与容器化(含Docker实操全解析)
运维·c++·docker·容器·虚拟化技术
A9better1 小时前
C++——不一样的I/O工具与名称空间
开发语言·c++·学习
一个人旅程~1 小时前
Dell n4020双系统分区步骤和linux优化操作
linux·windows·电脑
王老师青少年编程1 小时前
2024年信奥赛C++提高组csp-s初赛真题及答案解析(阅读程序第2题)
c++·题解·真题·初赛·信奥赛·csp-s·提高组
love530love1 小时前
【高阶编译】Windows 环境下强制编译 Flash Attention:绕过 CUDA 版本不匹配高阶指南
人工智能·windows·python·flash_attn·flash-attn·flash-attention·定制编译
勾股导航1 小时前
Windows安装GPU环境
人工智能·windows·gnu