internals:windows:libs:libcurl

This is an old revision of the document!


libcURL - the multiprotocol file transfer library

Available prebuilt libraries

All prebuilt libraries are available in the php-libs repositories

Requirements

  • CURL sources
  • OpenSSL 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

Configuration

Compilation

To build the library, go to the lib directory and call the makefile with the desired options:

cd C:\phpbuilds\2k5\curl-7.18.1\lib

Example for a Visual C++ 2005 (VC8):

Compilation x64, release

nmake /f Makefile.vc8 cfg=release-ssl-zlib ZLIB_PATH=c:\phpbuilds\2k5\x64\deps OPENSSL_PATH=c:\phpbuilds\2k5\x64\deps MACHINE=x64

Compilation x86, release

nmake /f Makefile.vc8 cfg=release-ssl-zlib ZLIB_PATH=c:\phpbuilds\2k5\x86\deps OPENSSL_PATH=c:\phpbuilds\2k5\x86\deps

Compilation x86, Debug

nmake /f Makefile.vc8 cfg=debug-ssl-zlib ZLIB_PATH=c:\phpbuilds\2k5\x86\deps OPENSSL_PATH=c:\phpbuilds\2k5\x86\deps

Compilation x64, Debug

nmake /f Makefile.vc8 cfg=debug-ssl-zlib ZLIB_PATH=c:\phpbuilds\2k5\x64\deps OPENSSL_PATH=c:\phpbuilds\2k5\x64\deps MACHINE=x64
internals/windows/libs/libcurl.1219587172.txt.gz · Last modified: 2017/09/22 13:28 (external edit)