cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Compiling Curl with TLS support using MSVC 2008

From: Gisle Vanem <gvanem_at_broadpark.no>
Date: Sat, 13 Jul 2013 15:29:54 +0200

"sumit gambhir" <sumitgambhir9_at_gmail.com> wrote:

> Please provide steps to compile Curl with TLS and HTTPS support using MSVC
> 2008.

What HTTPS library you want to use? The SSL that comes with
Windows would probably be best for your. It could be built in this ugly
way:
  cd lib
  nmake -f Makefile.vc6 WINDOWS_SSPI=1 CFG=release-winssl-zlib

This creates libcurl.lib that you link to in you app. Or use to build curl.exe
itself:
  cd ..\src
  copy tool_hugehelp.c.cvs tool_hugehelp.c
  nmake -f Makefile.vc6 WINDOWS_SSPI=1 CFG=release-winssl-zlib

PS. you need zlib.h + zlib.lib installed and set %ZLIB_PATH to point to it.
E.g.
  ZLIB_PATH=g:\MingW32\src\zlib-1.2.7

--gv
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2013-07-13