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
On ubuntu 22.04 the latest curl is 7.81.0. I get no warnings but a compilation error:
/cpr/cpr/error.cpp:131:14: error: use of undeclared identifier 'CURLE_UNRECOVERABLE_POLL'131 | case CURLE_UNRECOVERABLE_POLL:
| ^
/cpr/cpr/error.cpp:133:14: error: use of undeclared identifier 'CURLE_TOO_LARGE'133 | case CURLE_TOO_LARGE:
| ^
2 errors generated.
Example/How to Reproduce
install curl from apt on ubuntu and try cmake .. -DCPR_USE_SYSTEM_CURL=ON -DBUILD_SHARED_LIBS=OFF && cmake --build .
Possible Fix
Tell the supported version in README or make a check in CMake or make macro check for curl version in the code
Where did you get it from?
GitHub (branch e.g. master)
Additional Context/Your Environment
OS: Ubuntu
Version: 22.04 (Docker)
The text was updated successfully, but these errors were encountered:
Description
On ubuntu 22.04 the latest curl is 7.81.0. I get no warnings but a compilation error:
Example/How to Reproduce
install curl from apt on ubuntu and try
cmake .. -DCPR_USE_SYSTEM_CURL=ON -DBUILD_SHARED_LIBS=OFF && cmake --build .
Possible Fix
Tell the supported version in README or make a check in CMake or make macro check for curl version in the code
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: