Re: About building curl with libssh on Windows by MSVC

2022-02-25 Thread Daniel Stenberg via curl-library
On Fri, 25 Feb 2022, 梦终无痕 via curl-library wrote: I got a new error: ..\lib\vssh\libssh.c(88): fatal error C1083: cannot open include file: "unistd.h": No such file or directory Does it mean curl only support libssh on linux? I think it means that nobody has made sure it builds fine on Windo

About building curl with libssh on Windows by MSVC

2022-02-25 Thread 梦终无痕 via curl-library
Hi,     I meet some questions while trying to build curl on Windows. According to documents, my steps were:     1. vcvars64.bat     2. cd curl/winbuild     3. nmake -f ./Makefile.vc MACHINE=X64 mode=dll WITH_DEVEL=/path/to/deps WITH_SSH=dll (other parameters)     And my enviromnent was: