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


相关推荐
千里马-horse20 分钟前
Async++ 源码分析8--partitioner.h
开发语言·c++·async++·partitioner
Lucis__1 小时前
再探类&对象——C++入门进阶
开发语言·c++
程序设计实验室2 小时前
使用命令行删除 Windows 网络映射驱动器
windows
北京不会遇到西雅图2 小时前
【SLAM】【后端优化】不同优化方法对比
c++·机器人
jndingxin2 小时前
c++多线程(6)------ 条件变量
开发语言·c++
程序员莫小特3 小时前
老题新解|大整数加法
数据结构·c++·算法
用户31187945592184 小时前
Windows 电脑安装 XTerminal 1.25.1 x64 版(带安装包下载关键词)
windows
洲覆4 小时前
C++ 模板、泛型与 auto 关键字
开发语言·数据结构·c++
Logintern095 小时前
windows如何设置mongodb的副本集
数据库·windows·mongodb
千里马-horse5 小时前
Async++ 源码分析7--parallel_reduce.h
开发语言·c++·async++·parallel_reduce