Questions tagged [curlpp]

C++ wrapper for libcurl

C++ library wrapping (and simplifying) , not actively maintained anymore.

89 questions
0
votes
0 answers

Why libcurl errors undefined reference

I've started working with libcurl for couple hours. But it occurs too many errors at once. This is my code in main.cpp: #include #include "curl-7.53.1/include/curl/curl.h" using namespace std; int main(int argc, char *argv[]) { CURL…
no_ideaw
  • 151
  • 2
  • 10
0
votes
1 answer

How can I build curlpp on Windows for gcc?

I've downloaded the package from here: https://github.com/jpbarrette/curlpp When I drag CMakelists.txt onto cmake.exe it does build something that looks like a Microsoft Visual Studio project. I want to build static library that I could use in…
Tuxiak
  • 31
  • 4
0
votes
2 answers

Issues using curlpp after OSX homebrew install

I want to use curl/curlpp in my C++ project so I used the commands: brew install curl and brew install curlpp which had no issues. So to check that they were installed properly I called: curl --version and curlpp --version The first command gave a…
L-S
  • 107
  • 7
0
votes
0 answers

incomplete string in result curlpp

I'm trying to learn how to use curlpp to send http requests in C++. So far the examples on their own work fine, but I'm trying to save the result into a std::string variable using stringstreams. The code looks like this: 31 …
0
votes
0 answers

libcurl/curlpp giving me "__imp__curl_version" error

I'm trying to make an application in C++, in Windows using VS 2015. I've read in many places that curlpp is a good way to make HTTP requests. So I downloaded curlpp and noticed that it needed libcurl. I've built curlpp normally, and I've also…
bokirov
  • 13
  • 1
  • 4
0
votes
1 answer

Error while cmaking curlpp

I am trying to cmake curlpp using Cmake version 3.4.1 and I get an error in cmake saying: " Error in configuration process [...]". So all I did is in cmake-gui open the curlpp source (version 0.7.3), selected the destination folder and chose mingw.…
Andy
  • 186
  • 1
  • 4
  • 23
0
votes
1 answer

CURLpp, segmentation fault

Ubuntu 15.04, CLion, LibCurl, curl version - 7.38.00. When i'm compiling this code: #include #include #include #include #include int main() { try { …
0
votes
2 answers

Why do we try to link third party libraries if we have source code of many of libraries available online

I have seen many questions on Stack Overflow like "how to include curlpp etc in Visual Studio?" If we have the code of these libraries available online, why do people explicitly use .lib files to include to their projects when they can add the code…
Bad Sector
  • 37
  • 5
0
votes
0 answers

installing a c++ wrapper for libcurl on OS X

I have been attempting to install either curlpp or curlcpp to write a program in c++ capable of making simple http requests. I first downloaded curlcpp from github (https://github.com/JosephP91/curlcpp) and followed its instructions for…
Jonathan Basile
  • 649
  • 1
  • 10
  • 20
0
votes
1 answer

Include curl library for C++ in dll file

I'm writing a dll as a mod for Skyrim, however I need to use an external library as well. The library I need is the curl library for C++ (curlpp). Skyrim will only load the one DLL I create, therefore I need to have the entire library be compiled…
Qub1
  • 1,154
  • 2
  • 14
  • 31
0
votes
1 answer

Include Curl in MFC project

I'm fairly new with curl. I need to use curl in c++ with the ssl support. I compiled OpenSSL with nmake and then, and I compiled libcurl as a static library with SLL SUPPORT via the VS10 project. The compilation worked and I tried to build a small…
0
votes
2 answers

how can I get libcurl to callback BEFORE it sends some information on a post?

I'm uploading information to a server using a post call (using curlpp, but libcurl directly is fine too). CURLOPT_PROGRESSFUNCTION callback gets called from time to time with reports on how much data was send until now. When I upload a file, I see…
polo
  • 1,352
  • 2
  • 16
  • 35
0
votes
0 answers

Retrieve callback URL

I'm using cURLpp to send requests from a desktop client to a server, which typically responds with some json element. I can then parse that element for the information I need and display it to my users without incident. This server, however,…
event44
  • 630
  • 5
  • 17
-5
votes
1 answer

How to check whether a website is http or https, via C/C++ code using CURLPP library?

After researching a lot on google, I am able to send http request via c++ code using curlpp library and I am getting response as below: output: # g++ -o Curlpp Curlpp.C -lcurlpp #./Curlpp inside try:
DragonX
  • 371
  • 2
  • 6
  • 18
1 2 3 4 5
6