terlin maker 2024-08-07 16:03 采纳率: 0%
浏览 6

在c++中使用curl发请求,运行出现问题

curl版本: X64-windows-static-release

CMakeLists.txt内容:

cmake_minimum_required(VERSION 3.28)

project(send_Dlink)

set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_STANDARD_REQUIRED ON)

# 添加 `-static-libgcc` 标志
set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -static-libgcc")

# 添加 `-static-libstdc++` 标志以确保链接标准 C++ 库
set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -static-libstdc++")

# 添加 `-Wl,--wrap` 标志以解决未定义的符号问题
set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -Wl,--wrap=__security_cookie -Wl,--wrap=__security_check_cookie -Wl,--wrap=__GSHandlerCheck -Wl,--wrap=__chkstk")

set(CMAKE_PREFIX_PATH "D:/envirnments/Cpp/vcpkg/installed/x64-windows-static/" ${CMAKE_PREFIX_PATH})
# 查找并链接外部库
find_package(CURL CONFIG REQUIRED)
find_package(ZLIB REQUIRED)

include_directories("${CURL_INCLUDE_DIRS}" "${ZLIB_INCLUDE_DIRS}")

add_executable(${PROJECT_NAME} request_main.cpp)

target_link_libraries(${PROJECT_NAME} PRIVATE
        ${CURL_LIBRARIES}
        ${ZLIB_LIBRARIES})

cpp代码:

std::string send_requests(message_info info) {
    CURL *curl;
    CURLcode res;
    std::string readBuffer;
    std::string res_message;
    std::string url = info.protocol + "://" + info.address + ":" + std::to_string(info.port);
    curl_global_init(CURL_GLOBAL_DEFAULT);

    curl = curl_easy_init();
    if (curl) {
        curl_easy_setopt(curl, CURLOPT_URL, url.c_str());
        curl_easy_setopt(curl, CURLOPT_WRITEFUNCTION, WriteCallback);
        curl_easy_setopt(curl, CURLOPT_WRITEDATA, &readBuffer);
        curl_easy_setopt(curl, CURLOPT_POST, 1L);
        curl_easy_setopt(curl, CURLOPT_POSTFIELDS, info.req_Message.c_str());
        if (info.protocol == "https") {
            curl_easy_setopt(curl, CURLOPT_SSL_VERIFYPEER, 0L); // 不验证证书
            curl_easy_setopt(curl, CURLOPT_SSL_VERIFYHOST, 0L); // 不验证主机名
            curl_easy_setopt(curl, CURLOPT_CAINFO,
                             "C:\\Program Files (x86)\\CNCB\\DLink\\SSLCert\\Server.crt"); // 使用自签名证书作为 CA 证书
            curl_easy_setopt(curl, CURLOPT_SSLVERSION, CURL_SSLVERSION_TLSv1_0); // 使用 TLS 1.0
        }
        res = curl_easy_perform(curl);
        if (res != CURLE_OK) {
            std::cerr << "curl_easy_perform() failed: " << curl_easy_strerror(res) << std::endl;
        } else {
            // 编码转换
            res_message = convertToGBK(readBuffer);
        }

        curl_easy_cleanup(curl);
    }

    curl_global_cleanup();
    if (!res_message.empty()) {
        return res_message;
    }
    return "";
}

运行结果:

====================[ 构建 | send_Dlink | Release ]===============================
D:\envirnments\Cpp\CLion-2024.1.1\bin\cmake\win\x64\bin\cmake.exe --build D:\envirnments\Cpp\Workspace\send_Dlink\cmake-build-release --target send_Dlink -j 14
[1/2] Building CXX object CMakeFiles/send_Dlink.dir/request_main.cpp.obj
[2/2] Linking CXX executable send_Dlink.exe
FAILED: send_Dlink.exe 
C:\Windows\system32\cmd.exe /C "cd . && D:\envirnments\Cpp\CLion-2024.1.1\bin\mingw\bin\g++.exe -O3 -DNDEBUG -static-libgcc -static-libstdc++ -Wl,--wrap=__security_cookie -Wl,--wrap=__security_check_cookie -Wl,--wrap=__GSHandlerCheck -Wl,--wrap=__chkstk CMakeFiles/send_Dlink.dir/request_main.cpp.obj -o send_Dlink.exe -Wl,--out-implib,libsend_Dlink.dll.a -Wl,--major-image-version,0,--minor-image-version,0  D:/envirnments/Cpp/vcpkg/installed/x64-windows-static/lib/zlib.lib  -lws2_32  -lbcrypt  -ladvapi32  -lcrypt32  -lkernel32  -luser32  -lgdi32  -lwinspool  -lshell32  -lole32  -loleaut32  -luuid  -lcomdlg32  -lmingw32  -lmingwex  D:/envirnments/Cpp/vcpkg/installed/x64-windows-static/lib/libcurl.lib  D:/envirnments/Cpp/vcpkg/installed/x64-windows-static/lib/zlib.lib  -lws2_32  -lbcrypt  -ladvapi32  -lcrypt32  -lkernel32 -luser32 -lgdi32 -lwinspool -lshell32 -lole32 -loleaut32 -luuid -lcomdlg32 -ladvapi32 && cd ."
Warning: corrupt .drectve at end of def file
Warning: corrupt .drectve at end of def file
Warning: corrupt .drectve at end of def file
D:\envirnments\Cpp\CLion-2024.1.1\bin\mingw\bin/ld.exe: D:/envirnments/Cpp/vcpkg/installed/x64-windows-static/lib/libcurl.lib(lib/CMakeFiles/libcurl_object.dir/strerror.c.obj):(.text$mn+0x12): undefined reference to `__wrap___security_cookie'
D:\envirnments\Cpp\CLion-2024.1.1\bin\mingw\bin/ld.exe: D:/envirnments/Cpp/vcpkg/installed/x64-windows-static/lib/libcurl.lib(lib/CMakeFiles/libcurl_object.dir/strerror.c.obj):(.text$mn+0x577): undefined reference to `__wrap___security_check_cookie'
D:\envirnments\Cpp\CLion-2024.1.1\bin\mingw\bin/ld.exe: D:/envirnments/Cpp/vcpkg/installed/x64-windows-static/lib/libcurl.lib(lib/CMakeFiles/libcurl_object.dir/strerror.c.obj):(.text$mn+0x47): undefined reference to `__sys_nerr'
D:\envirnments\Cpp\CLion-2024.1.1\bin\mingw\bin/ld.exe: D:/envirnments/Cpp/vcpkg/installed/x64-windows-static/lib/libcurl.lib(lib/CMakeFiles/libcurl_object.dir/strerror.c.obj):(.text$mn+0x50): undefined reference to `__sys_errlist'
D:\envirnments\Cpp\CLion-2024.1.1\bin\mingw\bin/ld.exe: D:/envirnments/Cpp/vcpkg/installed/x64-windows-static/lib/libcurl.lib(lib/CMakeFiles/libcurl_object.dir/strerror.c.obj):(.text$mn+0xd): undefined reference to `__wrap___security_cookie'
D:\envirnments\Cpp\CLion-2024.1.1\bin\mingw\bin/ld.exe: D:/envirnments/Cpp/vcpkg/installed/x64-windows-static/lib/libcurl.lib(lib/CMakeFiles/libcurl_object.dir/strerror.c.obj):(.text$mn+0xd2): undefined reference to `__wrap___security_check_cookie'
D:\envirnments\Cpp\CLion-2024.1.1\bin\mingw\bin/ld.exe: D:/envirnments/Cpp/vcpkg/installed/x64-windows-static/lib/libcurl.lib(lib/CMakeFiles/libcurl_object.dir/strerror.c.obj):(.xdata[$unwind$Curl_sspi_strerror]+0x14): undefined reference to `__wrap___GSHandlerCheck'
D:\envirnments\Cpp\CLion-2024.1.1\bin\mingw\bin/ld.exe: D:/envirnments/Cpp/vcpkg/installed/x64-windows-static/lib/libcurl.lib(lib/CMakeFiles/libcurl_object.dir/strerror.c.obj):(.xdata[$unwind$get_winapi_error]+0xc): undefined reference to `__wrap___GSHandlerCheck'
D:\envirnments\Cpp\CLion-2024.1.1\bin\mingw\bin/ld.exe: D:/envirnments/Cpp/vcpkg/installed/x64-windows-static/lib/libcurl.lib(lib/CMakeFiles/libcurl_object.dir/setopt.c.obj):(.text$mn+0x11): undefined reference to `__wrap___security_cookie'
D:\envirnments\Cpp\CLion-2024.1.1\bin\mingw\bin/ld.exe: D:/envirnments/Cpp/vcpkg/installed/x64-windows-static/lib/libcurl.lib(lib/CMakeFiles/libcurl_object.dir/setopt.c.obj):(.text$mn+0x238e): undefined reference to `__wrap___security_check_cookie'
D:\envirnments\Cpp\CLion-2024.1.1\bin\mingw\bin/ld.exe: D:/envirnments/Cpp/vcpkg/installed/x64-windows-static/lib/libcurl.lib(lib/CMakeFiles/libcurl_object.dir/setopt.c.obj):(.xdata[$unwind$Curl_vsetopt]+0x14): undefined reference to `__wrap___GSHandlerCheck'
D:\envirnments\Cpp\CLion-2024.1.1\bin\mingw\bin/ld.exe: D:/envirnments/Cpp/vcpkg/installed/x64-windows-static/lib/libcurl.lib(lib/CMakeFiles/libcurl_object.dir/mprintf.c.obj):(.text$mn+0x16): undefined reference to `__wrap___chkstk'
D:\envirnments\Cpp\CLion-2024.1.1\bin\mingw\bin/ld.exe: D:/envirnments/Cpp/vcpkg/installed/x64-windows-static/lib/libcurl.lib(lib/CMakeFiles/libcurl_object.dir/mprintf.c.obj):(.text$mn+0x20): undefined reference to `__wrap___security_cookie'
D:\envirnments\Cpp\CLion-2024.1.1\bin\mingw\bin/ld.exe: D:/envirnments/Cpp/vcpkg/installed/x64-windows-static/lib/libcurl.lib(lib/CMakeFiles/libcurl_object.dir/mprintf.c.obj):(.text$mn+0x2c2): undefined reference to `__wrap___security_check_cookie'
D:\envirnments\Cpp\CLion-2024.1.1\bin\mingw\bin/ld.exe: D:/envirnments/Cpp/vcpkg/installed/x64-windows-static/lib/libcurl.lib(lib/CMakeFiles/libcurl_object.dir/hostip.c.obj):(.text$mn+0xda): undefined reference to `__wrap___security_check_cookie'
D:\envirnments\Cpp\CLion-2024.1.1\bin\mingw\bin/ld.exe: D:/envirnments/Cpp/vcpkg/installed/x64-windows-static/lib/libcurl.lib(lib/CMakeFiles/libcurl_object.dir/hostip.c.obj):(.text$mn+0x22): undefined reference to `__wrap___security_cookie'
D:\envirnments\Cpp\CLion-2024.1.1\bin\mingw\bin/ld.exe: D:/envirnments/Cpp/vcpkg/installed/x64-windows-static/lib/libcurl.lib(lib/CMakeFiles/libcurl_object.dir/hostip.c.obj):(.text$mn+0x470): undefined reference to `__wrap___security_check_cookie'
D:\envirnments\Cpp\CLion-2024.1.1\bin\mingw\bin/ld.exe: D:/envirnments/Cpp/vcpkg/installed/x64-windows-static/lib/libcurl.lib(lib/CMakeFiles/libcurl_object.dir/hostip.c.obj):(.text$mn+0x1b): undefined reference to `__wrap___security_cookie'
D:\envirnments\Cpp\CLion-2024.1.1\bin\mingw\bin/ld.exe: D:/envirnments/Cpp/vcpkg/installed/x64-windows-static/lib/libcurl.lib(lib/CMakeFiles/libcurl_object.dir/cfilters.c.obj):(.xdata[$unwind$Curl_conn_shutdown]+0x10): undefined reference to `__wrap___GSHandlerCheck'
D:\envirnments\Cpp\CLion-2024.1.1\bin\mingw\bin/ld.exe: D:/envirnments/Cpp/vcpkg/installed/x64-windows-static/lib/libcurl.lib(lib/CMakeFiles/libcurl_object.dir/cfilters.c.obj):(.xdata[$unwind$Curl_conn_cf_poll]+0x14): undefined reference to `__wrap___GSHandlerCheck'
D:\envirnments\Cpp\CLion-2024.1.1\bin\mingw\bin/ld.exe: D:/envirnments/Cpp/vcpkg/installed/x64-windows-static/lib/libcurl.lib(lib/CMakeFiles/libcurl_object.dir/cfilters.c.obj):(.xdata[$unwind$Curl_pollset_add_socks]+0xc): undefined reference to `__wrap___GSHandlerCheck'
D:\envirnments\Cpp\CLion-2024.1.1\bin\mingw\bin/ld.exe: D:/envirnments/Cpp/vcpkg/installed/x64-windows-static/lib/libcurl.lib(lib/CMakeFiles/libcurl_object.dir/cfilters.c.obj):(.xdata[$unwind$conn_report_connect_stats]+0xc): undefined reference to `__wrap___GSHandlerCheck'
D:\envirnments\Cpp\CLion-2024.1.1\bin\mingw\bin/ld.exe: D:/envirnments/Cpp/vcpkg/installed/x64-windows-static/lib/libcurl.lib(lib/CMakeFiles/libcurl_object.dir/cf-socket.c.obj):(.text$mn+0xc): undefined reference to `__wrap___security_cookie'
D:\envirnments\Cpp\CLion-2024.1.1\bin\mingw\bin/ld.exe: D:/envirnments/Cpp/vcpkg/installed/x64-windows-static/lib/libcurl.lib(lib/CMakeFiles/libcurl_object.dir/cf-socket.c.obj):(.text$mn+0xa0): undefined reference to `__wrap___security_check_cookie'
D:\envirnments\Cpp\CLion-2024.1.1\bin\mingw\bin/ld.exe: D:/envirnments/Cpp/vcpkg/installed/x64-windows-static/lib/libcurl.lib(lib/CMakeFiles/libcurl_object.dir/cf-socket.c.obj):(.text$mn+0x13): undefined reference to `__wrap___security_cookie'
D:\envirnments\Cpp\CLion-2024.1.1\bin\mingw\bin/ld.exe: D:/envirnments/Cpp/vcpkg/installed/x64-windows-static/lib/libcurl.lib(lib/CMakeFiles/libcurl_object.dir/cf-socket.c.obj):(.text$mn+0x298): undefined reference to `__wrap___security_check_cookie'
D:\envirnments\Cpp\CLion-2024.1.1\bin\mingw\bin/ld.exe: D:/envirnments/Cpp/vcpkg/installed/x64-windows-static/lib/libcurl.lib(lib/CMakeFiles/libcurl_object.dir/cf-socket.c.obj):(.text$mn+0x17): undefined reference to `__wrap___security_cookie'
D:\envirnments\Cpp\CLion-2024.1.1\bin\mingw\bin/ld.exe: D:/envirnments/Cpp/vcpkg/installed/x64-windows-static/lib/libcurl.lib(lib/CMakeFiles/libcurl_object.dir/cf-socket.c.obj):(.text$mn+0x1f4): undefined reference to `__wrap___security_check_cookie'
D:\envirnments\Cpp\CLion-2024.1.1\bin\mingw\bin/ld.exe: D:/envirnments/Cpp/vcpkg/installed/x64-windows-static/lib/libcurl.lib(lib/CMakeFiles/libcurl_object.dir/cf-socket.c.obj):(.text$mn+0x15): undefined reference to `__wrap___security_cookie'
D:\envirnments\Cpp\CLion-2024.1.1\bin\mingw\bin/ld.exe: D:/envirnments/Cpp/vcpkg/installed/x64-windows-static/lib/libcurl.lib(lib/CMakeFiles/libcurl_object.dir/cf-socket.c.obj):(.text$mn+0x12e): undefined reference to `__wrap___security_check_cookie'
D:\envirnments\Cpp\CLion-2024.1.1\bin\mingw\bin/ld.exe: D:/envirnments/Cpp/vcpkg/installed/x64-windows-static/lib/libcurl.lib(lib/CMakeFiles/libcurl_object.dir/cf-socket.c.obj):(.text$mn+0xb): undefined reference to `__wrap___security_cookie'
D:\envirnments\Cpp\CLion-2024.1.1\bin\mingw\bin/ld.exe: D:/envirnments/Cpp/vcpkg/installed/x64-windows-static/lib/libcurl.lib(lib/CMakeFiles/libcurl_object.dir/cf-socket.c.obj):(.text$mn+0x7a): undefined reference to `__wrap___security_check_cookie'
D:\envirnments\Cpp\CLion-2024.1.1\bin\mingw\bin/ld.exe: D:/envirnments/Cpp/vcpkg/installed/x64-windows-static/lib/libcurl.lib(lib/CMakeFiles/libcurl_object.dir/cf-socket.c.obj):(.text$mn+0x14): undefined reference to `__wrap___security_cookie'
D:\envirnments\Cpp\CLion-2024.1.1\bin\mingw\bin/ld.exe: D:/envirnments/Cpp/vcpkg/installed/x64-windows-static/lib/libcurl.lib(lib/CMakeFiles/libcurl_object.dir/cf-socket.c.obj):(.text$mn+0x233): undefined reference to `__wrap___security_check_cookie'
D:\envirnments\Cpp\CLion-2024.1.1\bin\mingw\bin/ld.exe: D:/envirnments/Cpp/vcpkg/installed/x64-windows-static/lib/libcurl.lib(lib/CMakeFiles/libcurl_object.dir/cf-socket.c.obj):(.text$mn+0xe): undefined reference to `__wrap___security_cookie'
D:\envirnments\Cpp\CLion-2024.1.1\bin\mingw\bin/ld.exe: D:/envirnments/Cpp/vcpkg/installed/x64-windows-static/lib/libcurl.lib(lib/CMakeFiles/libcurl_object.dir/cf-socket.c.obj):(.text$mn+0xb0): undefined reference to `__wrap___security_check_cookie'
D:\envirnments\Cpp\CLion-2024.1.1\bin\mingw\bin/ld.exe: D:/envirnments/Cpp/vcpkg/installed/x64-windows-static/lib/libcurl.lib(lib/CMakeFiles/libcurl_object.dir/cf-socket.c.obj):(.text$mn+0x1f): undefined reference to `__wrap___security_cookie'
D:\envirnments\Cpp\CLion-2024.1.1\bin\mingw\bin/ld.exe: D:/envirnments/Cpp/vcpkg/installed/x64-windows-static/lib/libcurl.lib(lib/CMakeFiles/libcurl_object.dir/cf-socket.c.obj):(.text$mn+0x4ad): undefined reference to `__wrap___security_check_cookie'

D:\envirnments\Cpp\CLion-2024.1.1\bin\mingw\bin/ld.exe: D:/envirnments/Cpp/vcpkg/installed/x64-windows-static/lib/libcurl.lib(lib/CMakeFiles/libcurl_object.dir/multi.c.obj):(.text$mn+0x168): undefined reference to `__wrap___security_check_cookie'
D:\envirnments\Cpp\CLion-2024.1.1\bin\mingw\bin/ld.exe: D:/envirnments/Cpp/vcpkg/installed/x64-windows-static/lib/libcurl.lib(lib/CMakeFiles/libcurl_object.dir/multi.c.obj):(.text$mn+0x12): undefined reference to `__wrap___security_cookie'
D:\envirnments\Cpp\CLion-2024.1.1\bin\mingw\bin/ld.exe: D:/envirnments/Cpp/vcpkg/installed/x64-windows-static/lib/libcurl.lib(lib/CMakeFiles/libcurl_object.dir/vtls/x509asn1.c.obj):(.text$mn+0x3b6): undefined reference to `__wrap___security_check_cookie'
D:\envirnments\Cpp\CLion-2024.1.1\bin\mingw\bin/ld.exe: D:/envirnments/Cpp/vcpkg/installed/x64-windows-static/lib/libcurl.lib(lib/CMakeFiles/libcurl_object.dir/vtls/x509asn1.c.obj):(.xdata[$unwind$do_pubkey]+0x14): undefined reference to `__wrap___GSHandlerCheck'
D:\envirnments\Cpp\CLion-2024.1.1\bin\mingw\bin/ld.exe: D:/envirnments/Cpp/vcpkg/installed/x64-windows-static/lib/libcurl.lib(lib/CMakeFiles/libcurl_object.dir/vtls/schannel_verify.c.obj):(.text$mn+0x22): undefined reference to `__wrap___security_cookie'
D:\envirnments\Cpp\CLion-2024.1.1\bin\mingw\bin/ld.exe: D:/envirnments/Cpp/vcpkg/installed/x64-windows-static/lib/libcurl.lib(lib/CMakeFiles/libcurl_object.dir/vtls/schannel_verify.c.obj):(.text$mn+0x405): undefined reference to `__wrap___security_check_cookie'
D:\envirnments\Cpp\CLion-2024.1.1\bin\mingw\bin/ld.exe: D:/envirnments/Cpp/vcpkg/installed/x64-windows-static/lib/libcurl.lib(lib/CMakeFiles/libcurl_object.dir/vtls/schannel_verify.c.obj):(.text$mn+0xd): undefined reference to `__wrap___security_cookie'
D:\envirnments\Cpp\CLion-2024.1.1\bin\mingw\bin/ld.exe: D:/envirnments/Cpp/vcpkg/installed/x64-windows-static/lib/libcurl.lib(lib/CMakeFiles/libcurl_object.dir/vtls/schannel_verify.c.obj):(.text$mn+0x3c3): undefined reference to `__wrap___security_check_cookie'
D:\envirnments\Cpp\CLion-2024.1.1\bin\mingw\bin/ld.exe: D:/envirnments/Cpp/vcpkg/installed/x64-windows-static/lib/libcurl.lib(lib/CMakeFiles/libcurl_object.dir/vtls/schannel_verify.c.obj):(.text$mn+0x16): undefined reference to `__wrap___security_cookie'
D:\envirnments\Cpp\CLion-2024.1.1\bin\mingw\bin/ld.exe: D:/envirnments/Cpp/vcpkg/installed/x64-windows-static/lib/libcurl.lib(lib/CMakeFiles/libcurl_object.dir/vtls/schannel_verify.c.obj):(.text$mn+0x26b): undefined reference to `__wrap___security_check_cookie'
D:\envirnments\Cpp\CLion-2024.1.1\bin\mingw\bin/ld.exe: D:/envirnments/Cpp/vcpkg/installed/x64-windows-static/lib/libcurl.lib(lib/CMakeFiles/libcurl_object.dir/vtls/schannel_verify.c.obj):(.text$mn+0x13): undefined reference to `__wrap___security_cookie'
D:\envirnments\Cpp\CLion-2024.1.1\bin\mingw\bin/ld.exe: D:/envirnments/Cpp/vcpkg/installed/x64-windows-static/lib/libcurl.lib(lib/CMakeFiles/libcurl_object.dir/vtls/schannel_verify.c.obj):(.text$mn+0x246): undefined reference to `__wrap___security_check_cookie'
D:\envirnments\Cpp\CLion-2024.1.1\bin\mingw\bin/ld.exe: D:/envirnments/Cpp/vcpkg/installed/x64-windows-static/lib/libcurl.lib(lib/CMakeFiles/libcurl_object.dir/vtls/schannel_verify.c.obj):(.xdata[$unwind$Curl_verify_host]+0x8): undefined reference to `__wrap___GSHandlerCheck'
D:\envirnments\Cpp\CLion-2024.1.1\bin\mingw\bin/ld.exe: D:/envirnments/Cpp/vcpkg/installed/x64-windows-static/lib/libcurl.lib(lib/CMakeFiles/libcurl_object.dir/vtls/schannel_verify.c.obj):(.xdata[$unwind$Curl_verify_certificate]+0x1c): undefined reference to `__wrap___GSHandlerCheck'
D:\envirnments\Cpp\CLion-2024.1.1\bin\mingw\bin/ld.exe: D:/envirnments/Cpp/vcpkg/installed/x64-windows-static/lib/libcurl.lib(lib/CMakeFiles/libcurl_object.dir/vtls/schannel_verify.c.obj):(.xdata[$unwind$add_certs_data_to_store]+0x1c): undefined reference to `__wrap___GSHandlerCheck'
D:\envirnments\Cpp\CLion-2024.1.1\bin\mingw\bin/ld.exe: D:/envirnments/Cpp/vcpkg/installed/x64-windows-static/lib/libcurl.lib(lib/CMakeFiles/libcurl_object.dir/vtls/schannel_verify.c.obj):(.xdata[$unwind$add_certs_file_to_store]+0x14): undefined reference to `__wrap___GSHandlerCheck'
D:\envirnments\Cpp\CLion-2024.1.1\bin\mingw\bin/ld.exe: D:/envirnments/Cpp/vcpkg/installed/x64-windows-static/lib/libcurl.lib(lib/CMakeFiles/libcurl_object.dir/vauth/spnego_sspi.c.obj):(.text$mn+0x1f): undefined reference to `__wrap___security_cookie'
D:\envirnments\Cpp\CLion-2024.1.1\bin\mingw\bin/ld.exe: D:/envirnments/Cpp/vcpkg/installed/x64-windows-static/lib/libcurl.lib(lib/CMakeFiles/libcurl_object.dir/vauth/spnego_sspi.c.obj):(.text$mn+0x457): undefined reference to `__wrap___security_check_cookie'
D:\envirnments\Cpp\CLion-2024.1.1\bin\mingw\bin/ld.exe: D:/envirnments/Cpp/vcpkg/installed/x64-windows-static/lib/libcurl.lib(lib/CMakeFiles/libcurl_object.dir/vauth/spnego_sspi.c.obj):(.xdata[$unwind$Curl_auth_decode_spnego_message]+0x18): undefined reference to `__wrap___GSHandlerCheck'
D:\envirnments\Cpp\CLion-2024.1.1\bin\mingw\bin/ld.exe: D:/envirnments/Cpp/vcpkg/installed/x64-windows-static/lib/libcurl.lib(lib/CMakeFiles/libcurl_object.dir/vauth/ntlm_sspi.c.obj):(.text$mn+0x1d): undefined reference to `__wrap___security_cookie'
D:\envirnments\Cpp\CLion-2024.1.1\bin\mingw\bin/ld.exe: D:/envirnments/Cpp/vcpkg/installed/x64-windows-static/lib/libcurl.lib(lib/CMakeFiles/libcurl_object.dir/vauth/ntlm_sspi.c.obj):(.text$mn+0x16c): undefined reference to `__wrap___security_check_cookie'
D:\envirnments\Cpp\CLion-2024.1.1\bin\mingw\bin/ld.exe: D:/envirnments/Cpp/vcpkg/installed/x64-windows-static/lib/libcurl.lib(lib/CMakeFiles/libcurl_object.dir/vauth/ntlm_sspi.c.obj):(.xdata[$unwind$Curl_auth_create_ntlm_type3_message]+0x18): undefined reference to `__wrap___GSHandlerCheck'
D:\envirnments\Cpp\CLion-2024.1.1\bin\mingw\bin/ld.exe: D:/envirnments/Cpp/vcpkg/installed/x64-windows-static/lib/libcurl.lib(lib/CMakeFiles/libcurl_object.dir/vauth/krb5_sspi.c.obj):(.text$mn+0x1c): undefined reference to `__wrap___security_cookie'
D:\envirnments\Cpp\CLion-2024.1.1\bin\mingw\bin/ld.exe: D:/envirnments/Cpp/vcpkg/installed/x64-windows-static/lib/libcurl.lib(lib/CMakeFiles/libcurl_object.dir/vauth/krb5_sspi.c.obj):(.text$mn+0x353): undefined reference to `__wrap___security_check_cookie'
D:\envirnments\Cpp\CLion-2024.1.1\bin\mingw\bin/ld.exe: D:/envirnments/Cpp/vcpkg/installed/x64-windows-static/lib/libcurl.lib(lib/CMakeFiles/libcurl_object.dir/vauth/krb5_sspi.c.obj):(.text$mn+0x1c): undefined reference to `__wrap___security_cookie'
D:\envirnments\Cpp\CLion-2024.1.1\bin\mingw\bin/ld.exe: D:/envirnments/Cpp/vcpkg/installed/x64-windows-static/lib/libcurl.lib(lib/CMakeFiles/libcurl_object.dir/vauth/krb5_sspi.c.obj):(.text$mn+0x323): undefined reference to `__wrap___security_check_cookie'
D:\envirnments\Cpp\CLion-2024.1.1\bin\mingw\bin/ld.exe: D:/envirnments/Cpp/vcpkg/installed/x64-windows-static/lib/libcurl.lib(lib/CMakeFiles/libcurl_object.dir/vauth/krb5_sspi.c.obj):(.xdata[$unwind$Curl_auth_create_gssapi_user_message]+0x18): undefined reference to `__wrap___GSHandlerCheck'
D:\envirnments\Cpp\CLion-2024.1.1\bin\mingw\bin/ld.exe: D:/envirnments/Cpp/vcpkg/installed/x64-windows-static/lib/libcurl.lib(lib/CMakeFiles/libcurl_object.dir/vauth/krb5_sspi.c.obj):(.xdata[$unwind$Curl_auth_create_gssapi_security_message]+0x18): undefined reference to `__wrap___GSHandlerCheck'
D:\envirnments\Cpp\CLion-2024.1.1\bin\mingw\bin/ld.exe: D:/envirnments/Cpp/vcpkg/installed/x64-windows-static/lib/libcurl.lib(lib/CMakeFiles/libcurl_object.dir/vauth/digest_sspi.c.obj):(.text$mn+0x1d): undefined reference to `__wrap___security_cookie'
D:\envirnments\Cpp\CLion-2024.1.1\bin\mingw\bin/ld.exe: D:/envirnments/Cpp/vcpkg/installed/x64-windows-static/lib/libcurl.lib(lib/CMakeFiles/libcurl_object.dir/vauth/digest_sspi.c.obj):(.text$mn+0x40e): undefined reference to `__wrap___security_check_cookie'
D:\envirnments\Cpp\CLion-2024.1.1\bin\mingw\bin/ld.exe: D:/envirnments/Cpp/vcpkg/installed/x64-windows-static/lib/libcurl.lib(lib/CMakeFiles/libcurl_object.dir/vauth/digest_sspi.c.obj):(.text$mn+0x1c): undefined reference to `__wrap___security_cookie'
D:\envirnments\Cpp\CLion-2024.1.1\bin\mingw\bin/ld.exe: D:/envirnments/Cpp/vcpkg/installed/x64-windows-static/lib/libcurl.lib(lib/CMakeFiles/libcurl_object.dir/vauth/digest_sspi.c.obj):(.text$mn+0x11a): undefined reference to `__wrap___security_check_cookie'
D:\envirnments\Cpp\CLion-2024.1.1\bin\mingw\bin/ld.exe: D:/envirnments/Cpp/vcpkg/installed/x64-windows-static/lib/libcurl.lib(lib/CMakeFiles/libcurl_object.dir/vauth/digest_sspi.c.obj):(.text$mn+0xe): undefined reference to `__wrap___security_cookie'
D:\envirnments\Cpp\CLion-2024.1.1\bin\mingw\bin/ld.exe: D:/envirnments/Cpp/vcpkg/installed/x64-windows-static/lib/libcurl.lib(lib/CMakeFiles/libcurl_object.dir/vauth/digest_sspi.c.obj):(.text$mn+0x183): undefined reference to `__wrap___security_check_cookie'
D:\envirnments\Cpp\CLion-2024.1.1\bin\mingw\bin/ld.exe: D:/envirnments/Cpp/vcpkg/installed/x64-windows-static/lib/libcurl.lib(lib/CMakeFiles/libcurl_object.dir/vauth/digest_sspi.c.obj):(.text$mn+0x15): undefined reference to `__wrap___security_cookie'
D:\envirnments\Cpp\CLion-2024.1.1\bin\mingw\bin/ld.exe: D:/envirnments/Cpp/vcpkg/installed/x64-windows-static/lib/libcurl.lib(lib/CMakeFiles/libcurl_object.dir/vauth/digest_sspi.c.obj):(.text$mn+0x150): undefined reference to `__wrap___security_check_cookie'
D:\envirnments\Cpp\CLion-2024.1.1\bin\mingw\bin/ld.exe: D:/envirnments/Cpp/vcpkg/installed/x64-windows-static/lib/libcurl.lib(lib/CMakeFiles/libcurl_object.dir/vauth/digest_sspi.c.obj):(.xdata[$unwind$Curl_auth_create_digest_md5_message]+0x14): undefined reference to `__wrap___GSHandlerCheck'
D:\envirnments\Cpp\CLion-2024.1.1\bin\mingw\bin/ld.exe: D:/envirnments/Cpp/vcpkg/installed/x64-windows-static/lib/libcurl.lib(lib/CMakeFiles/libcurl_object.dir/vauth/digest_sspi.c.obj):(.xdata[$unwind$Curl_auth_decode_digest_http_message]+0x10): undefined reference to `__wrap___GSHandlerCheck'
D:\envirnments\Cpp\CLion-2024.1.1\bin\mingw\bin/ld.exe: D:/envirnments/Cpp/vcpkg/installed/x64-windows-static/lib/libcurl.lib(lib/CMakeFiles/libcurl_object.dir/vauth/digest_sspi.c.obj):(.xdata[$unwind$Curl_auth_create_digest_http_message]+0x18): undefined reference to `__wrap___GSHandlerCheck'
D:\envirnments\Cpp\CLion-2024.1.1\bin\mingw\bin/ld.exe: D:/envirnments/Cpp/vcpkg/installed/x64-windows-static/lib/libcurl.lib(lib/CMakeFiles/libcurl_object.dir/vauth/digest_sspi.c.obj):(.xdata[$unwind$Curl_override_sspi_http_realm]+0x14): undefined reference to `__wrap___GSHandlerCheck'
D:\envirnments\Cpp\CLion-2024.1.1\bin\mingw\bin/ld.exe: D:/envirnments/Cpp/vcpkg/installed/x64-windows-static/lib/libcurl.lib(lib/CMakeFiles/libcurl_object.dir/vauth/cram.c.obj):(.text$mn+0xf): undefined reference to `__wrap___security_cookie'
D:\envirnments\Cpp\CLion-2024.1.1\bin\mingw\bin/ld.exe: D:/envirnments/Cpp/vcpkg/installed/x64-windows-static/lib/libcurl.lib(lib/CMakeFiles/libcurl_object.dir/vauth/cram.c.obj):(.text$mn+0x20f): undefined reference to `__wrap___security_check_cookie'
D:\envirnments\Cpp\CLion-2024.1.1\bin\mingw\bin/ld.exe: D:/envirnments/Cpp/vcpkg/installed/x64-windows-static/lib/libcurl.lib(lib/CMakeFiles/libcurl_object.dir/vauth/cram.c.obj):(.xdata[$unwind$Curl_auth_create_cram_md5_message]+0x10): undefined reference to `__wrap___GSHandlerCheck'
D:\envirnments\Cpp\CLion-2024.1.1\bin\mingw\bin/ld.exe: D:/envirnments/Cpp/vcpkg/installed/x64-windows-static/lib/libcurl.lib(lib/CMakeFiles/libcurl_object.dir/urlapi.c.obj):(.text$mn+0x14): undefined reference to `__wrap___security_cookie'
D:\envirnments\Cpp\CLion-2024.1.1\bin\mingw\bin/ld.exe: D:/envirnments/Cpp/vcpkg/installed/x64-windows-static/lib/libcurl.lib(lib/CMakeFiles/libcurl_object.dir/urlapi.c.obj):(.text$mn+0x14c): undefined reference to `__wrap___security_check_cookie'
D:\envirnments\Cpp\CLion-2024.1.1\bin\mingw\bin/ld.exe: D:/envirnments/Cpp/vcpkg/installed/x64-windows-static/lib/libcurl.lib(lib/CMakeFiles/libcurl_object.dir/urlapi.c.obj):(.text$mn+0x10): undefined reference to `__wrap___security_cookie'
D:\envirnments\Cpp\CLion-2024.1.1\bin\mingw\bin/ld.exe: D:/envirnments/Cpp/vcpkg/installed/x64-windows-static/lib/libcurl.lib(lib/CMakeFiles/libcurl_object.dir/urlapi.c.obj):(.text$mn+0x21a): undefined reference to `__wrap___security_check_cookie'
D:\envirnments\Cpp\CLion-2024.1.1\bin\mingw\bin/ld.exe: D:/envirnments/Cpp/vcpkg/installed/x64-windows-static/lib/libcurl.lib(lib/CMakeFiles/libcurl_object.dir/urlapi.c.obj):(.text$mn+0x12): undefined reference to `__wrap___security_cookie'
D:\envirnments\Cpp\CLion-2024.1.1\bin\mingw\bin/ld.exe: D:/envirnments/Cpp/vcpkg/installed/x64-windows-static/lib/libcurl.lib(lib/CMakeFiles/libcurl_object.dir/urlapi.c.obj):(.text$mn+0x1ac): undefined reference to `__wrap___security_check_cookie'
D:\envirnments\Cpp\CLion-2024.1.1\bin\mingw\bin/ld.exe: D:/envirnments/Cpp/vcpkg/installed/x64-windows-static/lib/libcurl.lib(lib/CMakeFiles/libcurl_object.dir/urlapi.c.obj):(.text$mn+0x1c0): undefined reference to `__report_rangecheckfailure'
D:\envirnments\Cpp\CLion-2024.1.1\bin\mingw\bin/ld.exe: D:/envirnments/Cpp/vcpkg/installed/x64-windows-static/lib/libcurl.lib(lib/CMakeFiles/libcurl_object.dir/urlapi.c.obj):(.text$mn+0x19): undefined reference to `__wrap___security_cookie'
D:\envirnments\Cpp\CLion-2024.1.1\bin\mingw\bin/ld.exe: D:/envirnments/Cpp/vcpkg/installed/x64-windows-static/lib/libcurl.lib(lib/CMakeFiles/libcurl_object.dir/urlapi.c.obj):(.text$mn+0x7d7): undefined reference to `__wrap___security_check_cookie'
D:\envirnments\Cpp\CLion-2024.1.1\bin\mingw\bin/ld.exe: D:/envirnments/Cpp/vcpkg/installed/x64-windows-static/lib/libcurl.lib(lib/CMakeFiles/libcurl_object.dir/urlapi.c.obj):(.xdata[$unwind$curl_url_get]+0x14): undefined reference to `__wrap___GSHandlerCheck'
D:\envirnments\Cpp\CLion-2024.1.1\bin\mingw\bin/ld.exe: D:/envirnments/Cpp/vcpkg/installed/x64-windows-static/lib/libcurl.lib(lib/CMakeFiles/libcurl_object.dir/urlapi.c.obj):(.xdata[$unwind$ipv6_parse]+0x14): undefined reference to `__wrap___GSHandlerCheck'
D:\envirnments\Cpp\CLion-2024.1.1\bin\mingw\bin/ld.exe: D:/envirnments/Cpp/vcpkg/installed/x64-windows-static/lib/libcurl.lib(lib/CMakeFiles/libcurl_object.dir/urlapi.c.obj):(.xdata[$unwind$ipv4_normalize]+0x10): undefined reference to `__wrap___GSHandlerCheck'
D:\envirnments\Cpp\CLion-2024.1.1\bin\mingw\bin/ld.exe: D:/envirnments/Cpp/vcpkg/installed/x64-windows-static/lib/libcurl.lib(lib/CMakeFiles/libcurl_object.dir/urlapi.c.obj):(.xdata[$unwind$parseurl]+0x20): undefined reference to `__wrap___GSHandlerCheck'
D:\envirnments\Cpp\CLion-2024.1.1\bin\mingw\bin/ld.exe: D:/envirnments/Cpp/vcpkg/installed/x64-windows-static/lib/libcurl.lib(lib/CMakeFiles/libcurl_object.dir/splay.c.obj):(.text$mn+0x7): undefined reference to `__wrap___security_cookie'
D:\envirnments\Cpp\CLion-2024.1.1\bin\mingw\bin/ld.exe: D:/envirnments/Cpp/vcpkg/installed/x64-windows-static/lib/libcurl.lib(lib/CMakeFiles/libcurl_object.dir/splay.c.obj):(.text$mn+0xf8): undefined reference to `__wrap___security_check_cookie'
D:\envirnments\Cpp\CLion-2024.1.1\bin\mingw\bin/ld.exe: D:/envirnments/Cpp/vcpkg/installed/x64-windows-static/lib/libcurl.lib(lib/CMakeFiles/libcurl_object.dir/splay.c.obj):(.xdata[$unwind$Curl_splay]+0x8): undefined reference to `__wrap___GSHandlerCheck'
D:\envirnments\Cpp\CLion-2024.1.1\bin\mingw\bin/ld.exe: D:/envirnments/Cpp/vcpkg/installed/x64-windows-static/lib/libcurl.lib(lib/CMakeFiles/libcurl_object.dir/socks_sspi.c.obj):(.text$mn+0x1f): undefined reference to `__wrap___security_cookie'
D:\envirnments\Cpp\CLion-2024.1.1\bin\mingw\bin/ld.exe: D:/envirnments/Cpp/vcpkg/installed/x64-windows-static/lib/libcurl.lib(lib/CMakeFiles/libcurl_object.dir/socks_sspi.c.obj):(.text$mn+0x507): undefined reference to `__wrap___security_check_cookie'
D:\envirnments\Cpp\CLion-2024.1.1\bin\mingw\bin/ld.exe: D:/envirnments/Cpp/vcpkg/installed/x64-windows-static/lib/libcurl.lib(lib/CMakeFiles/libcurl_object.dir/socks_sspi.c.obj):(.text$mn+0x10): undefined reference to `__wrap___security_cookie'
D:\envirnments\Cpp\CLion-2024.1.1\bin\mingw\bin/ld.exe: D:/envirnments/Cpp/vcpkg/installed/x64-windows-static/lib/libcurl.lib(lib/CMakeFiles/libcurl_object.dir/socks_sspi.c.obj):(.text$mn+0x7c): undefined reference to `__wrap___security_check_cookie'
D:\envirnments\Cpp\CLion-2024.1.1\bin\mingw\bin/ld.exe: D:/envirnments/Cpp/vcpkg/installed/x64-windows-static/lib/libcurl.lib(lib/CMakeFiles/libcurl_object.dir/socks_sspi.c.obj):(.xdata[$unwind$Curl_SOCKS5_gssapi_negotiate]+0x1c): undefined reference to `__wrap___GSHandlerCheck'
D:\envirnments\Cpp\CLion-2024.1.1\bin\mingw\bin/ld.exe: D:/envirnments/Cpp/vcpkg/installed/x64-windows-static/lib/libcurl.lib(lib/CMakeFiles/libcurl_object.dir/socks_sspi.c.obj):(.xdata[$unwind$check_sspi_err]+0x10): undefined reference to `__wrap___GSHandlerCheck'
D:\envirnments\Cpp\CLion-2024.1.1\bin\mingw\bin/ld.exe: D:/envirnments/Cpp/vcpkg/installed/x64-windows-static/lib/libcurl.lib(lib/CMakeFiles/libcurl_object.dir/md4.c.obj):(.text$mn+0xf): undefined reference to `__wrap___security_cookie'
D:\envirnments\Cpp\CLion-2024.1.1\bin\mingw\bin/ld.exe: D:/envirnments/Cpp/vcpkg/installed/x64-windows-static/lib/libcurl.lib(lib/CMakeFiles/libcurl_object.dir/md4.c.obj):(.text$mn+0x91): undefined reference to `__wrap___security_check_cookie'
D:\envirnments\Cpp\CLion-2024.1.1\bin\mingw\bin/ld.exe: D:/envirnments/Cpp/vcpkg/installed/x64-windows-static/lib/libcurl.lib(lib/CMakeFiles/libcurl_object.dir/md4.c.obj):(.xdata[$unwind$Curl_md4it]+0x10): undefined reference to `__wrap___GSHandlerCheck'
D:\envirnments\Cpp\CLion-2024.1.1\bin\mingw\bin/ld.exe: D:/envirnments/Cpp/vcpkg/installed/x64-windows-static/lib/libcurl.lib(lib/CMakeFiles/libcurl_object.dir/http_aws_sigv4.c.obj):(.text$mn+0x1a): undefined reference to `__wrap___security_cookie'
D:\envirnments\Cpp\CLion-2024.1.1\bin\mingw\bin/ld.exe: D:/envirnments/Cpp/vcpkg/installed/x64-windows-static/lib/libcurl.lib(lib/CMakeFiles/libcurl_object.dir/http_aws_sigv4.c.obj):(.text$mn+0x217): undefined reference to `sscanf'
D:\envirnments\Cpp\CLion-2024.1.1\bin\mingw\bin/ld.exe: D:/envirnments/Cpp/vcpkg/installed/x64-windows-static/lib/libcurl.lib(lib/CMakeFiles/libcurl_object.dir/http_aws_sigv4.c.obj):(.text$mn+0x699): undefined reference to `__wrap___security_check_cookie'
D:\envirnments\Cpp\CLion-2024.1.1\bin\mingw\bin/ld.exe: D:/envirnments/Cpp/vcpkg/installed/x64-windows-static/lib/libcurl.lib(lib/CMakeFiles/libcurl_object.dir/http_aws_sigv4.c.obj):(.text$mn+0x12): undefined reference to `__wrap___security_cookie'
D:\envirnments\Cpp\CLion-2024.1.1\bin\mingw\bin/ld.exe: D:/envirnments/Cpp/vcpkg/installed/x64-windows-static/lib/libcurl.lib(lib/CMakeFiles/libcurl_object.dir/http_aws_sigv4.c.obj):(.text$mn+0x16d): undefined reference to `__wrap___security_check_cookie'
D:\envirnments\Cpp\CLion-2024.1.1\bin\mingw\bin/ld.exe: D:/envirnments/Cpp/vcpkg/installed/x64-windows-static/lib/libcurl.lib(lib/CMakeFiles/libcurl_object.dir/http_aws_sigv4.c.obj):(.text$mn+0x17): undefined reference to `__wrap___security_cookie'
D:\envirnments\Cpp\CLion-2024.1.1\bin\mingw\bin/ld.exe: D:/envirnments/Cpp/vcpkg/installed/x64-windows-static/lib/libcurl.lib(lib/CMakeFiles/libcurl_object.dir/http_aws_sigv4.c.obj):(.text$mn+0x578): undefined reference to `__wrap___security_check_cookie'
D:\envirnments\Cpp\CLion-2024.1.1\bin\mingw\bin/ld.exe: D:/envirnments/Cpp/vcpkg/installed/x64-windows-static/lib/libcurl.lib(lib/CMakeFiles/libcurl_object.dir/http_aws_sigv4.c.obj):(.text$mn+0x591): undefined reference to `__report_rangecheckfailure'
D:\envirnments\Cpp\CLion-2024.1.1\bin\mingw\bin/ld.exe: D:/envirnments/Cpp/vcpkg/installed/x64-windows-static/lib/libcurl.lib(lib/CMakeFiles/libcurl_object.dir/http_aws_sigv4.c.obj):(.text$mn+0x10): undefined reference to `__wrap___security_cookie'
D:\envirnments\Cpp\CLion-2024.1.1\bin\mingw\bin/ld.exe: D:/envirnments/Cpp/vcpkg/installed/x64-windows-static/lib/libcurl.lib(lib/CMakeFiles/libcurl_object.dir/http_aws_sigv4.c.obj):(.text$mn+0xcd): undefined reference to `__wrap___security_check_cookie'
D:\envirnments\Cpp\CLion-2024.1.1\bin\mingw\bin/ld.exe: D:/envirnments/Cpp/vcpkg/installed/x64-windows-static/lib/libcurl.lib(lib/CMakeFiles/libcurl_object.dir/http_aws_sigv4.c.obj):(.xdata[$unwind$Curl_output_aws_sigv4]+0x14): undefined reference to `__wrap___GSHandlerCheck'
D:\envirnments\Cpp\CLion-2024.1.1\bin\mingw\bin/ld.exe: D:/envirnments/Cpp/vcpkg/installed/x64-windows-static/lib/libcurl.lib(lib/CMakeFiles/libcurl_object.dir/http_aws_sigv4.c.obj):(.xdata[$unwind$make_headers]+0x18): undefined reference to `__wrap___GSHandlerCheck'
D:\envirnments\Cpp\CLion-2024.1.1\bin\mingw\bin/ld.exe: D:/envirnments/Cpp/vcpkg/installed/x64-windows-static/lib/libcurl.lib(lib/CMakeFiles/libcurl_object.dir/http_aws_sigv4.c.obj):(.xdata[$unwind$parse_content_sha_hdr]+0x10): undefined reference to `__wrap___GSHandlerCheck'
D:\envirnments\Cpp\CLion-2024.1.1\bin\mingw\bin/ld.exe: D:/envirnments/Cpp/vcpkg/installed/x64-windows-static/lib/libcurl.lib(lib/CMakeFiles/libcurl_object.dir/http_aws_sigv4.c.obj):(.xdata[$unwind$canon_query]+0x14): undefined reference to `__wrap___GSHandlerCheck'
D:\envirnments\Cpp\CLion-2024.1.1\bin\mingw\bin/ld.exe: D:/envirnments/Cpp/vcpkg/installed/x64-windows-static/lib/libcurl.lib(lib/CMakeFiles/libcurl_object.dir/sha256.c.obj):(.text$mn+0xb): undefined reference to `__wrap___security_cookie'
D:\envirnments\Cpp\CLion-2024.1.1\bin\mingw\bin/ld.exe: D:/envirnments/Cpp/vcpkg/installed/x64-windows-static/lib/libcurl.lib(lib/CMakeFiles/libcurl_object.dir/sha256.c.obj):(.text$mn+0x128): undefined reference to `__wrap___security_check_cookie'
D:\envirnments\Cpp\CLion-2024.1.1\bin\mingw\bin/ld.exe: D:/envirnments/Cpp/vcpkg/installed/x64-windows-static/lib/libcurl.lib(lib/CMakeFiles/libcurl_object.dir/sha256.c.obj):(.xdata[$unwind$Curl_sha256it]+0xc): undefined reference to `__wrap___GSHandlerCheck'
D:\envirnments\Cpp\CLion-2024.1.1\bin\mingw\bin/ld.exe: D:/envirnments/Cpp/vcpkg/installed/x64-windows-static/lib/zlib.lib(CMakeFiles/zlib.dir/inftrees.c.obj):(.text$mn+0x18): undefined reference to `__wrap___security_cookie'
D:\envirnments\Cpp\CLion-2024.1.1\bin\mingw\bin/ld.exe: D:/envirnments/Cpp/vcpkg/installed/x64-windows-static/lib/zlib.lib(CMakeFiles/zlib.dir/inftrees.c.obj):(.text$mn+0x33d): undefined reference to `__wrap___security_check_cookie'
D:\envirnments\Cpp\CLion-2024.1.1\bin\mingw\bin/ld.exe: D:/envirnments/Cpp/vcpkg/installed/x64-windows-static/lib/zlib.lib(CMakeFiles/zlib.dir/inftrees.c.obj):(.text$mn+0x5d7): undefined reference to `__report_rangecheckfailure'
D:\envirnments\Cpp\CLion-2024.1.1\bin\mingw\bin/ld.exe: D:/envirnments/Cpp/vcpkg/installed/x64-windows-static/lib/zlib.lib(CMakeFiles/zlib.dir/inftrees.c.obj):(.xdata[$unwind$inflate_table]+0x14): undefined reference to `__wrap___GSHandlerCheck'
collect2.exe: error: ld returned 1 exit status
ninja: build stopped: subcommand failed.


疑问:

请问这是什么情况导致我无法正常运行的

  • 写回答

1条回答 默认 最新

  • 赵4老师 2024-08-07 17:41
    关注

    CMake入门的标准(调试先行)
    https://zhuanlan.zhihu.com/p/110824915

    评论

报告相同问题?

问题事件

  • 创建了问题 8月7日

悬赏问题

  • ¥15 CCF-CSP 2023 第三题 解压缩(50%)
  • ¥30 comfyui openpose报错
  • ¥20 Wpf Datarid单元格闪烁效果的实现
  • ¥15 图像分割、图像边缘提取
  • ¥15 sqlserver执行存储过程报错
  • ¥100 nuxt、uniapp、ruoyi-vue 相关发布问题
  • ¥15 浮窗和全屏应用同时存在,全屏应用输入法无法弹出
  • ¥100 matlab2009 32位一直初始化
  • ¥15 Expected type 'str | PathLike[str]…… bytes' instead
  • ¥15 三极管电路求解,已知电阻电压和三级关放大倍数