您的位置:首页 > 理论基础 > 计算机网络

进行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

   
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: