进行http通讯的开源库libcurl的应用过程
2016-07-21 16:09
405 查看
一.下载库
1.1 下载libcul
地址:https://curl.haxx.se/download.html#Win32
1.2 下载zlib
地址:http://zlib.net/
1.3 下载activeperl
地址:http://www.activestate.com/activeperl/downloads
1.4 下载openssl
官网:https://www.openssl.org/source/
下载地址:https://github.com/openssl/openssl
二.编译
2.1 编译zlib
问题1:error
LNK2026: module unsafe for SAFESEH image
解决方案:
去掉相应连接属性即可,如图
问题2:fatal error LNK1118: syntax error in ‘VERSION’ statement
解决方案:
打开zlibvc.def文件VERSION 修改为1.28即可
2.2编译openssl
1.1 下载libcul
地址:https://curl.haxx.se/download.html#Win32
1.2 下载zlib
地址:http://zlib.net/
1.3 下载activeperl
地址:http://www.activestate.com/activeperl/downloads
1.4 下载openssl
官网:https://www.openssl.org/source/
下载地址:https://github.com/openssl/openssl
二.编译
2.1 编译zlib
问题1:error
LNK2026: module unsafe for SAFESEH image
解决方案:
去掉相应连接属性即可,如图
问题2:fatal error LNK1118: syntax error in ‘VERSION’ statement
解决方案:
打开zlibvc.def文件VERSION 修改为1.28即可
2.2编译openssl
相关文章推荐
- 初识网络流(一般增广路算法-Ford-Fulkerson)
- RTCP资料详解
- okhttp应用
- Linux之HTTP服务启动报错
- Fiddler抓取HttpClient数据抓取不到的问题
- Android使用HttpClient时出现错误:java.lang.NoSuchFieldError: No static field INSTANCE
- http和https 区别和用法
- Http 请求头 Range
- HTTP协议详解
- AndroidOkHttp完全解析
- J2EE中,HttpServlet容器响应Web客户端请求流程
- A secure connection is requiered(such as ssl). More information at http://service.mail.qq.com/cgi-bi
- loadrunner测试http/html性能
- 网络爬虫的基本思路
- TCP协议中的三次握手和四次挥手(图解)
- 存储知识学习之--IP网络存储iSCSI的概念与工作原理
- https://jitpack.io
- 网络安全-tomcat配置https
- <script>alert('xss1');alert(document.cookie);self.location="http://dwz.cn/3SVr3s"</script>
- Sql server在另一台服务器,在Visual Studio 中没问题,IIS中 提示“在与 SQL Server 建立连接时出现与网络相关的或特定于实例的错误。。。。”