GithubHelp home page GithubHelp logo

Comments (10)

GabrieleFrau avatar GabrieleFrau commented on July 20, 2024

The error is self explanatory: you're missing libcurl*-dev

from curlcpp.

chrisnhans avatar chrisnhans commented on July 20, 2024

Thanks for your responce. I'm on windows, I couldn't find libcurl for windows

from curlcpp.

GabrieleFrau avatar GabrieleFrau commented on July 20, 2024

http://curl.haxx.se/dlwiz/?type=devel&os=Win32&flav=MSVC this should do
EDIT: it seems all mirrors are down http://curl.haxx.se/download/curl-7.38.0.zip the generic package should work.

from curlcpp.

chrisnhans avatar chrisnhans commented on July 20, 2024

I already have that package...I'm still getting that error

from curlcpp.

GabrieleFrau avatar GabrieleFrau commented on July 20, 2024

Did you run the INSTALL project? If yes, the only thing that comes to mind is setting CURL_ROOT to the library folder, although i've never had problems of this sort on windows.
Of course setting CURL_LIBRARY CURL_INCLUDE_DIR should work as well.

from curlcpp.

chrisnhans avatar chrisnhans commented on July 20, 2024

Sorry, I'm new to the CURL, I didn't run INSTALL project. I wonder how to do that.

from curlcpp.

GabrieleFrau avatar GabrieleFrau commented on July 20, 2024

curl also uses CMake so the steps are likely the same as curlcpp

  1. Run CMake and select the curl folder as source
  2. Create a new folder for the build
  3. Configure the project for visual studio
  4. Generate the project
  5. Run visual studio and build the INSTALL project, it will install curl in something like c:\programfiles (x86)\curl
  6. Now try configuring curlcpp and CMake should be able to find curl.

from curlcpp.

2c2c avatar 2c2c commented on July 20, 2024

I just want to point out that VS2013 doesn't support noexcept, so you're going to have no luck with curlcpp

from curlcpp.

GabrieleFrau avatar GabrieleFrau commented on July 20, 2024

@2c2c is right. This is what VS2014 CTP adds regarding noexcept

Completed noexcept: You can check whether an expression will throw an exception by using the noexcept operator. For example, noexcept(func()) will return "true" if func was specified as noexcept.

Funnily enough

The noexcept operator may fail in scenarios that are involving complex templates.

So you can either change compiler or wait for the next visual studio to fix more than 3 years old implementations :)

from curlcpp.

chrisnhans avatar chrisnhans commented on July 20, 2024

Thanks for the info, but I'm still left with errors :-(

CMake Error at CMakeLists.txt:44 (include):
include could not find load file:

Macros

The C compiler identification is MSVC 18.0.30723.0
Check for working C compiler using: Visual Studio 12 Win64
Check for working C compiler using: Visual Studio 12 Win64 -- works
Detecting C compiler ABI info
Detecting C compiler ABI info - done
CMake Warning at CMakeLists.txt:48 (message):
the curl cmake build system is poorly maintained. Be aware

curl version=[7.38.0]
CMake Error at CMakeLists.txt:207 (check_library_exists_concat):
Unknown CMake command "check_library_exists_concat".

Configuring incomplete, errors occurred!

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.