GithubHelp home page GithubHelp logo

Comments (6)

JosephP91 avatar JosephP91 commented on August 21, 2024

@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.

tpoechtrager avatar tpoechtrager commented on August 21, 2024

Upgrading isn't always the best solution. Why don't you #ifdef them out?
Also this seems to be related to #32.

from curlcpp.

susnux avatar susnux commented on August 21, 2024

I think handling this like #32 would be a good idea, anyway CURLOPT_PINNEDPUBLICKEY was added in 7.39 ;-)

from curlcpp.

JosephP91 avatar JosephP91 commented on August 21, 2024

@susnux right, in the 7.39. My mistake :)

from curlcpp.

susnux avatar susnux commented on August 21, 2024

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.

JosephP91 avatar JosephP91 commented on August 21, 2024

Mmm, yes, it should be!

from curlcpp.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.