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


相关推荐
rainmanqqst25 分钟前
耀世16Pro鼠标卡顿
windows
wen__xvn26 分钟前
每日一题洛谷P1914 小书童——凯撒密码c++
数据结构·c++·算法
云中飞鸿1 小时前
MFC中CString的Format、与XML中的XML_SETTEXT格式化注意
xml·c++·mfc
早起的年轻人2 小时前
Java List 自定义对象排序 Java 8 及以上版本使用 Stream API
java·windows·list
小小小白的编程日记2 小时前
List的基本功能(1)
数据结构·c++·算法·stl·list
努力可抵万难2 小时前
C++11新特性
开发语言·c++
ox00802 小时前
C++ 设计模式-策略模式
c++·设计模式·策略模式
egoist20232 小时前
【C++指南】一文总结C++类和对象【上】
开发语言·c++·类和对象·内存对齐·热榜·this指针·c++ 11
月上柳梢头&2 小时前
[C++ ]使用std::string作为函数参数时的注意事项
开发语言·c++·算法
商bol452 小时前
复习dddddddd
数据结构·c++·算法