These instructions were tested on Windows 7 Professional w/ Visual Studio 2010
-
Download the latest openssl from the website; at the time of this writing, it is 1.0.0d
-
Extract it to your drive; I put it in c:\code\openssl-1.0.0d
-
install ActiveState perl unless you already have a non-cygwin perl installed on windows
-
Open a Visual Studio 2010 Command Prompt
-
from the openssl dir, run:
perl Configure VC-WIN32 no-shared
-
Also from the openssl dir, run:
ms\do_ms.bat
-
Also from the openssl dir, run:
nmake -f ms\nt.mak
-
Download the latest libcurl from the website; at the time of this writing, it is 7.21.7
-
Edit Makefile and change VC=vc6 to VC=vc10
-
Edit lib\Makefile.vc10 and add the following to CFLAGS:
/DCURL_DISABLE_LDAP /DCURL_DISABLE_TELNET /DCURL_DISABLE_DICT /DCURL_DISABLE_TFTP
-
Run the following:
set RTLIBCFG=static set openssl_path=C:\code\openssl-1.0.0d nmake vc-ssl