Project URL: http://curl.haxx.se/libcurl/
All prebuilt libraries are available as part of the PHP SDK
-
CURL sources, patched, available in here
-
OpenSSL binaries and development files
-
Libssh2 binaries and development files
-
Zlib binaries and development files
-
Create a clean build tree without the classic php dependencies in ....\deps but only the required deps (ssl and zlib). Having curl headers in your include path is likely to break the build
See https://github.com/pierrejoye/curl/blob/master/winbuild/BUILD.WINDOWS.txt
nmake /f Makefile.vc mode=static VC=9 WITH_DEVEL=D:\repo\curl_deps WITH_SSL=dll WITH_ZLIB=static WITH_SSH2=static ENABLE_WINSSL=no USE_IDN=no GEN_PDB=yes DEBUG=no MACHINE=x86
nmake /f Makefile.vc mode=static VC=11 WITH_DEVEL=D:\repo\curl_deps.x86 WITH_SSL=dll WITH_ZLIB=static WITH_SSH2=static ENABLE_WINSSL=no USE_IDN=yes ENABLE_IPV6=yes GEN_PDB=yes DEBUG=no MACHINE=x86
nmake /f Makefile.vc mode=static VC=11 WITH_DEVEL=D:\repo\curl_deps.x64 WITH_SSL=dll WITH_ZLIB=static WITH_SSH2=static ENABLE_WINSSL=no USE_IDN=yes ENABLE_IPV6=yes GEN_PDB=yes DEBUG=no MACHINE=x64
NOTE Builds with USE_IDN=yes will require Microsoft IDN Mitigation APIs on Windows XP. These APIs are available by default starting with Windows Vista.