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 原项目中没有,因此编译时需要手动修改包含位置


相关推荐
别动我齐刘海4 小时前
Linux 系统调试学习1
linux·运维·服务器·c++·学习·机器学习·机器人
jack186896 小时前
Devin 智能软件工程师实战应用指南
windows
jimy18 小时前
C++ 虚函数表:基类和派生类共用一张 vtable 吗?
开发语言·c++
爱吃提升8 小时前
Dev-C++ 5.11 C++断点调试完整教程
开发语言·c++
Hello_Pyhx8 小时前
WinDirStat 2.9.3:从目录扫描到可复查的占用报表
windows·mac·垃圾清理
xlq223229 小时前
全面复习7
c++
geats人山人海9 小时前
现代c++2.4 虚继承
java·开发语言·c++
csuzhucong9 小时前
天元一号、二号、三号
c++
jun_bai10 小时前
使用Aspose实现word文档合并,内容替换
windows·c#·word
灯澜忆梦10 小时前
【面向对象编程c++】| 数组与函数
java·数据结构·c++