Comments (6)
@tpoechtrager I created an Ubuntu 15.04 virtual machine to reproduce your development environment and errors. Checking on libcurl website, I see that many of the not found constants, like CURLOPT_PINNEDPUBLICKEY, has been added in libcurl 7.41, while Ubuntu has libcurl 7.38 installed. Downloading libcurl 7.41, compiling it and installing it, has solved the problem and I have been able to compile curlcpp.
from curlcpp.
Upgrading isn't always the best solution. Why don't you #ifdef
them out?
Also this seems to be related to #32.
from curlcpp.
I think handling this like #32 would be a good idea, anyway CURLOPT_PINNEDPUBLICKEY was added in 7.39 ;-)
from curlcpp.
@susnux right, in the 7.39. My mistake :)
from curlcpp.
I committed a fix for this bug. However this will only will bring backwards compatibility until 7.38.
If this should work with all curl version back to 7.28 there are few more macros which have to put in #if
#endif
. So @JosephP91 should it be backwards compatible? I think it is not much more work.
from curlcpp.
Mmm, yes, it should be!
from curlcpp.
Related Issues (20)
- warnings when building
- NOEXCEPT
- Release:1.2 Cmake fails. HOT 15
- compile warning: invalid use of incomplete type HOT 2
- curl_easy_exception doesn't set any message into std::exception HOT 1
- Build of 1.4 fail with mingw32 in win10 and curl 7.74.0 HOT 12
- Can't link on windows HOT 3
- Singleton initializer issue HOT 1
- replece curlcpp-master/include to curlcpp-master/include/curlcpp
- Can't link with a project with Dynamic CRT (VS2019)
- initialising order warnings HOT 1
- Is a new tag/release coming soon? HOT 1
- build fail with curl 7.83.0 HOT 2
- Static build? HOT 6
- Deprecation warnings with latest curl version
- How to get response content string when using curl_multi HOT 1
- Version inside CMake looks out of date HOT 1
- suggestion libev
- Titles in README.md mismatch
- BUILD_SHARED_LIBS non-standard usage.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from curlcpp.