windows 下编译libcurl openssl

23 篇文章 0 订阅
9 篇文章 1 订阅

参考

编译libcurl-openssl

1、拉取opensssl

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

git clone -b openssl-3.1.3 --recurse-submodules https://github.com/openssl/openssl.git
2、拉取curl

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

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

-VSpath 设置为你的vs路径
-perlpath 设置为perl路径

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

在这里插入图片描述
在这里插入图片描述

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值