You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
n file included from /Users/thiagochenzhu/Documents/project/cpp-discord/sleepy-discord/deps/cpr/cpr/session.cpp:1:
In file included from /Users/thiagochenzhu/Documents/project/cpp-discord/sleepy-discord/deps/cpr/include/cpr/session.h:22:
/Users/thiagochenzhu/Documents/project/cpp-discord/sleepy-discord/deps/cpr/include/cpr/response.h:30:33: error:
use of undeclared identifier 'CURLINFO_SIZE_DOWNLOAD_T'; did you mean 'CURLINFO_SIZE_DOWNLOAD'?
curl_easy_getinfo(curl, CURLINFO_SIZE_DOWNLOAD_T, &downloaded_bytes);
^~~~~~~~~~~~~~~~~~~~~~~~
CURLINFO_SIZE_DOWNLOAD
/usr/include/curl/curl.h:2546:69: note: expanded from macro 'curl_easy_getinfo'
#define curl_easy_getinfo(handle,info,arg) curl_easy_getinfo(handle,info,arg)
^
/usr/include/curl/curl.h:2267:3: note: 'CURLINFO_SIZE_DOWNLOAD' declared here
CURLINFO_SIZE_DOWNLOAD = CURLINFO_DOUBLE + 8,
^
In file included from /Users/thiagochenzhu/Documents/project/cpp-discord/sleepy-discord/deps/cpr/cpr/session.cpp:1:
In file included from /Users/thiagochenzhu/Documents/project/cpp-discord/sleepy-discord/deps/cpr/include/cpr/session.h:22:
/Users/thiagochenzhu/Documents/project/cpp-discord/sleepy-discord/deps/cpr/include/cpr/response.h:31:33: error:
use of undeclared identifier 'CURLINFO_SIZE_UPLOAD_T'; did you mean 'CURLINFO_SIZE_UPLOAD'?
curl_easy_getinfo(curl, CURLINFO_SIZE_UPLOAD_T, &uploaded_bytes);
^~~~~~~~~~~~~~~~~~~~~~
CURLINFO_SIZE_UPLOAD
/usr/include/curl/curl.h:2546:69: note: expanded from macro 'curl_easy_getinfo'
#define curl_easy_getinfo(handle,info,arg) curl_easy_getinfo(handle,info,arg)
^
/usr/include/curl/curl.h:2266:3: note: 'CURLINFO_SIZE_UPLOAD' declared here
CURLINFO_SIZE_UPLOAD = CURLINFO_DOUBLE + 7,
^
2 errors generated.
make[2]: *** [sleepy-discord/deps/cpr/cpr/CMakeFiles/cpr.dir/session.cpp.o] Error 1
make[1]: *** [sleepy-discord/deps/cpr/cpr/CMakeFiles/cpr.dir/all] Error 2
make: *** [all] Error 2
The text was updated successfully, but these errors were encountered:
the code
the error
The text was updated successfully, but these errors were encountered: