728x90
반응형
728x90
반응형
728x90
반응형

libcurl 빌드 하기 (Visual Sutdio)

  1. curl 소스 코드를 다운로드 받는다.
  1. 압축파일을 푼다.

  2. 경로 이동

cd curl-버전\winbuild
  1. Visual Stidio Command Prompt 실행
  • 이때, 32비트 인지 64 비트인지 확인하여 실행하여야 합니다.
  1. 명령어 실행
  • LIB(*.lib) 로 빌드하는 방법
nmake /f Makefile.vc mode=static
  • DLL(*.dll) 로 빌드하는 방법
nmake /f Makefile.vc mode=dll
  • 기타 옵션 (nmake /f Makefile.vc mode= )
  VC=<6,7,8,9,10,11,12,14,15>    - VC versions
  WITH_DEVEL=<path>              - Paths for the development files (SSL, zlib, etc.)
                                   Defaults to sibbling directory deps: ../deps
                                   Libraries can be fetched at https://windows.php.net/downloads/php-sdk/deps/
                                   Uncompress them into the deps folder.
  WITH_SSL=<dll or static>       - Enable OpenSSL support, DLL or static
  WITH_NGHTTP2=<dll or static>   - Enable HTTP/2 support, DLL or static
  WITH_MBEDTLS=<dll or static>   - Enable mbedTLS support, DLL or static
  WITH_CARES=<dll or static>     - Enable c-ares support, DLL or static
  WITH_ZLIB=<dll or static>      - Enable zlib support, DLL or static
  WITH_SSH2=<dll or static>      - Enable libSSH2 support, DLL or static
  WITH_PREFIX=<dir>              - Where to install the build
  ENABLE_SSPI=<yes or no>        - Enable SSPI support, defaults to yes
  ENABLE_IPV6=<yes or no>        - Enable IPv6, defaults to yes
  ENABLE_IDN=<yes or no>         - Enable use of Windows IDN APIs, defaults to yes
                                   Requires Windows Vista or later
  ENABLE_WINSSL=<yes or no>      - Enable native Windows SSL support, defaults to yes
  GEN_PDB=<yes or no>            - Generate Program Database (debug symbols for release build)
  DEBUG=<yes or no>              - Debug builds
  MACHINE=<x86 or x64>           - Target architecture (default is x86)
  CARES_PATH=<path to cares>     - Custom path for c-ares
  MBEDTLS_PATH=<path to mbedTLS> - Custom path for mbedTLS
  NGHTTP2_PATH=<path to HTTP/2>  - Custom path for nghttp2
  SSH2_PATH=<path to libSSH2>    - Custom path for libSSH2
  SSL_PATH=<path to OpenSSL>     - Custom path for OpenSSL
  ZLIB_PATH=<path to zlib>       - Custom path for zlib
  • 32비트는 MODE=x86, 64비트는 MODE=x64 사용
  • 나머지 옵션은 기본값을 사용하여도 무방함
728x90
반응형
728x90
반응형

curl & libcurl 7.62.0 for Visual Studio 2017

  : static build + Visual Studio 2017 x64

curl 7.62.0-DEV (x86_64-pc-win32) libcurl/7.62.0-DEV WinSSL WinIDN

Release-Date: [unreleased]

Protocols: dict file ftp ftps gopher http https imap imaps ldap pop3 pop3s rtsp smb smbs smtp smtps telnet tftp

Features: AsynchDNS IDN IPv6 Largefile SSPI Kerberos SPNEGO NTLM SSL


libcurl-vc14-AMD64-release-static-ipv6-sspi-winssl.7z


728x90
반응형

+ Recent posts