cpr-example icon indicating copy to clipboard operation
cpr-example copied to clipboard

Fresh build on windows failed

Open ZackOfAllTrades opened this issue 3 years ago • 0 comments

Microsoft Windows [Version 10.0.19043.1288] (c) Microsoft Corporation. All rights reserved.

C:\REPOS\EXTERNAL\cpr-example>git submodule update --init --recursive

C:\REPOS\EXTERNAL\cpr-example>mkdir build

C:\REPOS\EXTERNAL\cpr-example>cd build

C:\REPOS\EXTERNAL\cpr-example\build>cmake .. -- Building for: Visual Studio 16 2019 CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required): Compatibility with CMake < 2.8.12 will be removed from a future version of CMake.

Update the VERSION argument value or use a ... suffix to tell CMake that the project does not need compatibility with older versions.

-- Selecting Windows SDK version 10.0.19041.0 to target Windows 10.0.19043. -- The C compiler identification is MSVC 19.29.30040.0 -- The CXX compiler identification is MSVC 19.29.30040.0 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Enterprise/VC/Tools/MSVC/14.29.30037/bin/Hostx64/x64/cl.exe - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Enterprise/VC/Tools/MSVC/14.29.30037/bin/Hostx64/x64/cl.exe - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Could NOT find CURL (missing: CURL_LIBRARY CURL_INCLUDE_DIR) CMake Deprecation Warning at opt/cpr/CMakeLists.txt:1 (cmake_minimum_required): Compatibility with CMake < 2.8.12 will be removed from a future version of CMake.

Update the VERSION argument value or use a ... suffix to tell CMake that the project does not need compatibility with older versions.

-- C++ Requests CMake Options -- ======================================================= -- USE_SYSTEM_CURL: OFF -- BUILD_CPR_TESTS: OFF -- GENERATE_COVERAGE: OFF -- CPR_CURL_NOSIGNAL: OFF -- USE_SYSTEM_GTEST: OFF -- CMAKE_USE_OPENSSL: OFF -- ======================================================= -- Not using system Curl, using built-in curl project instead. CMake Deprecation Warning at opt/cpr/opt/curl/CMakeLists.txt:41 (cmake_minimum_required): Compatibility with CMake < 2.8.12 will be removed from a future version of CMake.

Update the VERSION argument value or use a ... suffix to tell CMake that the project does not need compatibility with older versions.

CMake Warning at opt/cpr/opt/curl/CMakeLists.txt:49 (message): the curl cmake build system is poorly maintained. Be aware

-- curl version=[7.52.1-DEV] CMake Warning at opt/cpr/opt/curl/CMakeLists.txt:224 (message): Found no *nroff program

-- Looking for getch in ws2_32; -- Looking for getch in ws2_32; - found -- Looking for getch in winmm;ws2_32 -- Looking for getch in winmm;ws2_32 - found -- Looking for cldap_open in wldap32;winmm;ws2_32 -- Looking for cldap_open in wldap32;winmm;ws2_32 - found -- Looking for include file winldap.h -- Looking for include file winldap.h - not found -- Looking for include file winber.h -- Looking for include file winber.h - not found -- Looking for include file ldap_ssl.h -- Looking for include file ldap_ssl.h - not found -- Looking for include file ldapssl.h -- Looking for include file ldapssl.h - not found -- Looking for idn2_lookup_ul in idn2;wldap32;winmm;ws2_32 -- Looking for idn2_lookup_ul in idn2;wldap32;winmm;ws2_32 - not found -- Could NOT find LibSSH2 (missing: LIBSSH2_INCLUDE_DIR LIBSSH2_LIBRARY) -- Performing Test USE_UNIX_SOCKETS -- Performing Test USE_UNIX_SOCKETS - Failed -- Looking for include file windows.h -- Looking for include file windows.h - found -- Looking for include files windows.h, winsock.h -- Looking for include files windows.h, winsock.h - found -- Looking for 3 include files windows.h, ..., ws2tcpip.h -- Looking for 3 include files windows.h, ..., ws2tcpip.h - found -- Looking for 4 include files windows.h, ..., winsock2.h -- Looking for 4 include files windows.h, ..., winsock2.h - found -- Looking for 5 include files windows.h, ..., sspi.h -- Looking for 5 include files windows.h, ..., sspi.h - found -- Looking for 6 include files windows.h, ..., schannel.h -- Looking for 6 include files windows.h, ..., schannel.h - found -- Looking for 7 include files windows.h, ..., stdio.h -- Looking for 7 include files windows.h, ..., stdio.h - found -- Looking for 8 include files windows.h, ..., sys/filio.h -- Looking for 8 include files windows.h, ..., sys/filio.h - not found -- Looking for 8 include files windows.h, ..., sys/ioctl.h -- Looking for 8 include files windows.h, ..., sys/ioctl.h - not found -- Looking for 8 include files windows.h, ..., sys/resource.h -- Looking for 8 include files windows.h, ..., sys/resource.h - not found -- Looking for 10 include files windows.h, ..., sys/uio.h -- Looking for 10 include files windows.h, ..., sys/uio.h - not found -- Looking for 10 include files windows.h, ..., sys/un.h -- Looking for 10 include files windows.h, ..., sys/un.h - not found -- Looking for 11 include files windows.h, ..., arpa/tftp.h -- Looking for 11 include files windows.h, ..., arpa/tftp.h - not found -- Looking for 11 include files windows.h, ..., assert.h -- Looking for 11 include files windows.h, ..., assert.h - found -- Looking for 12 include files windows.h, ..., crypto.h -- Looking for 12 include files windows.h, ..., crypto.h - not found -- Looking for 12 include files windows.h, ..., des.h -- Looking for 12 include files windows.h, ..., des.h - not found -- Looking for 12 include files windows.h, ..., err.h -- Looking for 12 include files windows.h, ..., err.h - not found -- Looking for 12 include files windows.h, ..., errno.h -- Looking for 12 include files windows.h, ..., errno.h - found -- Looking for 14 include files windows.h, ..., idn2.h -- Looking for 14 include files windows.h, ..., idn2.h - not found -- Looking for 14 include files windows.h, ..., ifaddrs.h -- Looking for 14 include files windows.h, ..., ifaddrs.h - not found -- Looking for 15 include files windows.h, ..., krb.h -- Looking for 15 include files windows.h, ..., krb.h - not found -- Looking for 15 include files windows.h, ..., libgen.h -- Looking for 15 include files windows.h, ..., libgen.h - not found -- Looking for 15 include files windows.h, ..., limits.h -- Looking for 15 include files windows.h, ..., limits.h - found -- Looking for 16 include files windows.h, ..., locale.h -- Looking for 16 include files windows.h, ..., locale.h - found -- Looking for 17 include files windows.h, ..., netinet/tcp.h -- Looking for 17 include files windows.h, ..., netinet/tcp.h - not found -- Looking for 17 include files windows.h, ..., pem.h -- Looking for 17 include files windows.h, ..., pem.h - not found -- Looking for 17 include files windows.h, ..., poll.h -- Looking for 17 include files windows.h, ..., poll.h - not found -- Looking for 17 include files windows.h, ..., rsa.h -- Looking for 17 include files windows.h, ..., rsa.h - not found -- Looking for 19 include files windows.h, ..., ssl.h -- Looking for 19 include files windows.h, ..., ssl.h - not found -- Looking for 19 include files windows.h, ..., stdbool.h -- Looking for 19 include files windows.h, ..., stdbool.h - found -- Looking for 23 include files windows.h, ..., stropts.h -- Looking for 23 include files windows.h, ..., stropts.h - not found -- Looking for 25 include files windows.h, ..., stddef.h -- Looking for 25 include files windows.h, ..., stddef.h - found -- Looking for 28 include files windows.h, ..., sys/utsname.h -- Looking for 28 include files windows.h, ..., sys/utsname.h - not found -- Check size of size_t -- Check size of size_t - done -- Check size of ssize_t -- Check size of ssize_t - failed -- Check size of long long -- Check size of long long - done -- Check size of long -- Check size of long - done -- Check size of short -- Check size of short - done -- Check size of int -- Check size of int - done -- Check size of __int64 -- Check size of __int64 - done -- Check size of time_t -- Check size of time_t - done -- Looking for basename -- Looking for basename - not found -- Looking for strncmpi -- Looking for strncmpi - not found -- Looking for alarm -- Looking for alarm - not found -- Looking for gethostbyname -- Looking for gethostbyname - found -- Looking for strtoll -- Looking for strtoll - found -- Looking for _strtoi64 -- Looking for _strtoi64 - found -- Looking for strerror_r -- Looking for strerror_r - not found -- Looking for siginterrupt -- Looking for siginterrupt - not found -- Looking for fork -- Looking for fork - not found -- Looking for freeaddrinfo -- Looking for freeaddrinfo - found -- Looking for freeifaddrs -- Looking for freeifaddrs - not found -- Looking for pipe -- Looking for pipe - not found -- Looking for ftruncate -- Looking for ftruncate - not found -- Looking for getprotobyname -- Looking for getprotobyname - found -- Looking for getrlimit -- Looking for getrlimit - not found -- Looking for setlocale -- Looking for setlocale - found -- Looking for setrlimit -- Looking for setrlimit - not found -- Looking for fcntl -- Looking for fcntl - not found -- Looking for ioctl -- Looking for ioctl - not found -- Looking for setsockopt -- Looking for setsockopt - found -- Looking for inet_pton -- Looking for inet_pton - found -- Performing Curl Test HAVE_FCNTL_O_NONBLOCK -- Performing Curl Test HAVE_FCNTL_O_NONBLOCK - Failed -- Performing Curl Test HAVE_IOCTLSOCKET -- Performing Curl Test HAVE_IOCTLSOCKET - Success -- Performing Curl Test HAVE_IOCTLSOCKET_CAMEL -- Performing Curl Test HAVE_IOCTLSOCKET_CAMEL - Failed -- Performing Curl Test HAVE_IOCTLSOCKET_CAMEL_FIONBIO -- Performing Curl Test HAVE_IOCTLSOCKET_CAMEL_FIONBIO - Success -- Performing Curl Test HAVE_IOCTLSOCKET_FIONBIO -- Performing Curl Test HAVE_IOCTLSOCKET_FIONBIO - Success -- Performing Curl Test HAVE_IOCTL_FIONBIO -- Performing Curl Test HAVE_IOCTL_FIONBIO - Failed -- Performing Curl Test HAVE_IOCTL_SIOCGIFADDR -- Performing Curl Test HAVE_IOCTL_SIOCGIFADDR - Failed -- Performing Curl Test HAVE_SETSOCKOPT_SO_NONBLOCK -- Performing Curl Test HAVE_SETSOCKOPT_SO_NONBLOCK - Failed -- Performing Curl Test HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID -- Performing Curl Test HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID - Failed -- Performing Curl Test HAVE_SOCKLEN_T -- Performing Curl Test HAVE_SOCKLEN_T - Success -- Performing Curl Test HAVE_BOOL_T -- Performing Curl Test HAVE_BOOL_T - Success -- Performing Curl Test HAVE_FILE_OFFSET_BITS -- Performing Curl Test HAVE_FILE_OFFSET_BITS - Failed -- Check size of off_t -- Check size of off_t - done -- Performing Curl Test HAVE_GLIBC_STRERROR_R -- Performing Curl Test HAVE_GLIBC_STRERROR_R - Failed -- Performing Curl Test HAVE_POSIX_STRERROR_R -- Performing Curl Test HAVE_POSIX_STRERROR_R - Failed -- Check size of socklen_t -- Check size of socklen_t - done -- Performing Test curl_cv_recv -- Performing Test curl_cv_recv - Success -- Performing Test curl_cv_func_recv_test -- Performing Test curl_cv_func_recv_test - Success -- Tested: int recv(int, void *, size_t, int) -- Performing Test curl_cv_send -- Performing Test curl_cv_send - Success -- Performing Test curl_cv_func_send_test -- Performing Test curl_cv_func_send_test - Success -- Tested: int send(int, const void *, size_t, int) -- Performing Test HAVE_MSG_NOSIGNAL -- Performing Test HAVE_MSG_NOSIGNAL - Failed -- Performing Test HAVE_STRUCT_TIMEVAL -- Performing Test HAVE_STRUCT_TIMEVAL - Success -- Performing Test HAVE_POLL_FINE -- Performing Test HAVE_POLL_FINE - Failed -- Check size of sig_atomic_t -- Check size of sig_atomic_t - done -- Performing Test HAVE_SIG_ATOMIC_T_NOT_VOLATILE -- Performing Test HAVE_SIG_ATOMIC_T_NOT_VOLATILE - Success -- Check size of struct sockaddr_storage -- Check size of struct sockaddr_storage - done -- Enabled features: WinSSL IPv6 AsynchDNS Largefile SSPI SPNEGO Kerberos NTLM -- Enabled protocols: DICT FILE FTP FTPS GOPHER HTTP HTTPS IMAP IMAPS LDAP POP3 POP3S RTSP SMTP SMTPS TELNET TFTP -- Set CURL_FOUND to TRUE. -- Set CURL_LIBRARIES to libcurl. -- Set CURL_INCLUDE_DIRS to C:/REPOS/EXTERNAL/cpr-example/opt/cpr/opt/curl/include;C:/REPOS/EXTERNAL/cpr-example/build/opt/cpr/opt/curl/include/curl. -- Using CURL_INCLUDE_DIRS: C:/REPOS/EXTERNAL/cpr-example/opt/cpr/opt/curl/include;C:/REPOS/EXTERNAL/cpr-example/build/opt/cpr/opt/curl/include/curl. -- Using CURL_LIBRARIES: CURL_LIBRARY-NOTFOUND. -- Configuring done CMake Error: The following variables are used in this project, but they are set to NOTFOUND. Please set them or make sure they are set and tested correctly in the CMake files: CURL_LIBRARY linked by target "cpr" in directory C:/REPOS/EXTERNAL/cpr-example/opt/cpr/cpr

-- Generating done CMake Generate step failed. Build files cannot be regenerated correctly.

C:\REPOS\EXTERNAL\cpr-example\build>

ZackOfAllTrades avatar Nov 04 '21 18:11 ZackOfAllTrades