User Tools

Site Tools


c:build:build-libcurl-statically-on-windows-vs2017

Download libcurl

Include all dependencies in deps folder:

To build the debug version, run from winbuild folder:

nmake /f Makefile.vc DEBUG=yes mode=static WITH_SSL=static WITH_NGHTTP2=static WITH_ZLIB=static WITH_SSH2=static ENABLE_WINSSL=yes MACHINE=x86 SSL_PATH=D:/curl/deps WITH_DEVEL=D:/curl/deps RTLIBCFG=static NGHTTP2_PATH=D:/curl/deps ZLIB_PATH=D:/curl/deps GEN_PDB=yes

To build the release version, update the deps folder with release dependencies libraries, then run from winbuild folder:

nmake /f Makefile.vc mode=static WITH_SSL=static WITH_NGHTTP2=static WITH_ZLIB=static WITH_SSH2=static ENABLE_WINSSL=yes MACHINE=x86 SSL_PATH=D:/curl/deps WITH_DEVEL=D:/curl/deps RTLIBCFG=static NGHTTP2_PATH=D:/curl/deps ZLIB_PATH=D:/curl/deps GEN_PDB=yes
c/build/build-libcurl-statically-on-windows-vs2017.txt · Last modified: 2023/07/04 19:36 by 127.0.0.1