Windows
打开vs2017命令提示框,进去winbuild目录 执行命令
nmake /f makefile.vc mode=static vc=15 debug=yes machine=x86 ENABLE_IDN=no
nmake /f makefile.vc mode=static vc=15 debug=no machine=x86 ENABLE_IDN=no
nmake /f makefile.vc mode=static vc=15 debug=yes machine=x64 ENABLE_IDN=no
nmake /f makefile.vc mode=dll vc=15 debug=yes machine=x64 ENABLE_IDN=no
Centos7
指定安装路径
./configure --prefix=/usr/local/curl
make
make instal