一.下載下傳庫
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