I'm trying to compile CMake using the MSVC toolchain but it isn't working when I configure for the first time. The relevant output is below. What do I need to do to get this working? I installed all the packages in Cygwin with the word 'curl' in it, but it still isn't working:<div>
<br></div><div><div>-- Performing Curl Test HAVE_FIONBIO</div><div>-- Performing Curl Test HAVE_FIONBIO - Failed</div><div>-- Performing Curl Test HAVE_IOCTLSOCKET</div><div>-- Performing Curl Test HAVE_IOCTLSOCKET - Failed</div>
<div>-- Performing Curl Test HAVE_IOCTLSOCKET_CASE</div><div>-- Performing Curl Test HAVE_IOCTLSOCKET_CASE - Failed</div><div>-- Performing Curl Test HAVE_SO_NONBLOCK</div><div>-- Performing Curl Test HAVE_SO_NONBLOCK - Failed</div>
<div>-- Performing Curl Test HAVE_O_NONBLOCKHAVE_GETHOSTBYADDR_R_5</div><div>-- Performing Curl Test HAVE_O_NONBLOCKHAVE_GETHOSTBYADDR_R_5 - Failed</div><div>-- Performing Curl Test HAVE_SOCKLEN_T</div><div>-- Performing Curl Test HAVE_SOCKLEN_T - Failed</div>
<div>-- Performing Curl Test HAVE_FILE_OFFSET_BITS</div><div>-- Performing Curl Test HAVE_FILE_OFFSET_BITS - Failed</div><div>-- Check size of curl_off_t</div><div>-- Check size of curl_off_t - failed</div><div>-- Performing Test curl_cv_recv</div>
<div>-- Performing Test curl_cv_recv - Failed</div><div>CMake Error at Utilities/cmcurl/CMake/OtherTests.cmake:89 (MESSAGE):</div><div> Unable to link function recv</div><div>Call Stack (most recent call first):</div><div>
Utilities/cmcurl/CMakeLists.txt:662 (INCLUDE)</div><div><br></div>
</div>