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
raised error :/root/xxx/cpr/cpr/session.cpp:160:58: error: ‘CURLSSLOPT_NATIVE_CA’ was not declared in this scope
160 | curl_easy_setopt(curl_->handle, CURLOPT_SSL_OPTIONS, CURLSSLOPT_NATIVE_CA);
Possible Fix
No response
Where did you get it from?
GitHub (branch e.g. master)
Additional Context/Your Environment
OS: Ubuntu
Version: 20.04.LTS arm64
The text was updated successfully, but these errors were encountered:
You are probably trying to compile with -DCPR_USE_SYSTEM_CURL=ON right?
If so, your system libcurl version is too old. Ubuntu20.04 provides libcurl 7.68.0 but CURLSSLOPT_NATIVE_CA requires at least 7.71.0.
Please use the build in version of curl via cmake .. -DCPR_USE_SYSTEM_CURL=OFF
Description
Example/How to Reproduce
160 | curl_easy_setopt(curl_->handle, CURLOPT_SSL_OPTIONS, CURLSSLOPT_NATIVE_CA);
Possible Fix
No response
Where did you get it from?
GitHub (branch e.g. master)
Additional Context/Your Environment
The text was updated successfully, but these errors were encountered: