I tested it, like I'm not OK.
This was a short note about building CURL with SSL in Windows.
Tools Required:
- Curl Source:download Latest Curl source from here.
- Microsoft Visual C + + or Express edition:it looks like Edition Express are no longer available, but all EXP Ress Edition can is downloaded from here.
- Win32 OpenSSL:
- Download Win32 OpenSSL installer and Visual Studio redistributable from Here-these is Win32 OpenSSL v1.0.1e an D Visual C + + Redistributables at the time of this writing.
- Install Win32 OpenSSL; By the default it installs to
C:\OpenSSL-Win32
.
- Install Visual C + + redistributable.
Building CURL:
- Run from
Visual Studio 2008 Command Prompt
Start, Menu > All Programs > Microsoft Visual C + + Express Edition > Visual Studio Tools. Or, visual Studio Command Prompt If you ' re using Visual C + + 2010.
- Navigate
winbuild
to sub-directory in CURL source directory, and issue following command:
nmake /f Makefile.vc mode=static WITH_SSL=static WITH_DEVEL=C:\OpenSSL-Win32 VC=X ENABLE_SSPI=no ENABLE_IDN=no ENABLE_WINSSL=no DEBUG=no MACHINE=x86 GEN_PDB=no ENABLE_IPV6=yes
Note:in
vc=x, replace
XWith 9 for Visual C + + or for Visual C + + 2010.
Once build is complete, CURL static libraries would are copied to
builds
Sub-Directory in CURL source directory.
How to compile Libcurl under Windows