Building cURL & libcurl with Visual Studio 2010

Posted by KTC on Stack Overflow See other posts from Stack Overflow or by KTC
Published on 2010-05-21T18:18:26Z Indexed on 2010/05/21 18:20 UTC
Read the original article Hit count: 828

With the help of question #197444, I have managed to build cURL & libcurl from source on Windows from within the Visual Studio 2010 IDE, OpenSSL 1.0.0, and zlib 1.2.5. The problem I see is that at the moment, if I run the resulting curl.exe with the argument -V, then the version that it report is

curl 7.20.1 (i386-pc-win32) libcurl/7.20.1 OpenSSL/0.9.8d zlib/1.2.3
Protocols: dict file ftp ftps http https imap imaps ldap pop3 pop3s rtsp smtp smtps telnet tftp
Features: AsynchDNS Largefile NTLM SSL libz

Note the versions reported for both OpenSSL & zlib doesn't match if what I actually used. Any idea on how to fix this?

p.s. Is there a clear list of optional components that can be compiled into libcurl and what options/preprocessor directive to use? (e.g. SSPI, libidn, ...?)

© Stack Overflow or respective owner

Related posts about visual-studio-2010

Related posts about curl