I upgraded to Windows 10 and am trying to make curlpp work with MS visual studio 2013. I have downloaded the first simple example from github:
#include
#include
#include
using namespace…
I am trying to use curlpp in my Xcode c++ project, but even though I added the library to the target in the project settings, I'm told "file not found" for the line
#include
I probably did something wrong, but I'm not sure what.…
I tried to compile first simple example, and see compile error: undefined reference to `curlpp::Cleanup::Cleanup()'
In linker options i wrote curl-config --libs, in command line
$ curl-config --libs
-lcurl
What am I doing wrong?
I would like to try the C++ wrapper for libcurl; curlpp. The documentation seems to be non-existent. I am following the steps that I found here:
http://wiki.hartungdesign.net/docs:mac:builds:curlpp
This basically just says do the typical
1.…
I'm trying to convert a Java application to C++, I am using cURL for my requests.
Below is the java code; I'm wondering how to replicate the connection.setRequestProperty() method.
connection = (HttpURLConnection)…
I am attempting to use cURLpp as an avenue for retrieving data from a weather website for a final project in my C++ class. I am using Eclipse as an IDE and MinGW as my compiler. All I want to be able to do is send a GET request to the weather API…
I recently installed cURLpp from NUGET in visual studio. Everything installed correctly and when I try to use cURLpp I get the following error:
Severity Code Description Project File Line Suppression State Error LNK2019 unresolved external symbol…
I tried to send a GET request (to https://api.binance.com/api/v3/depth) but I can't seem to find how to send a JSON payload with it.
I found this:
std::string body;
body = "{\"symbol\":\"BTCUSDT\",\"limit\":5}";
request.setOpt(new…
I use C++, curl 7.64, CMake 3.19.3, curlpp 0.8.1, Windows 7 OS. I cannot build curlpp out-of-the-box.
CURL_FOUND is set to true, but CURL_INCLUDE_DIRS and CURL_LIBRARIES are empty (AFAIK, CMake module delegates variables filling to curl CMake…
I have try a c++ program using curlpp libraries in my VM, my intention is when i execute the program, i can get a file via tftp.
I tested this program on the VM , this program managed to get a file from another VM.
However when i run this program in…
I'm trying to download a file using CurlPP, this is my code:
curlpp::Cleanup myCleanup;
curlpp::Easy myRequest;
myRequest.setOpt("https://mydomain/thefileIwant.bin");
myRequest.setOpt(new…
B.H
I'm trying to write UDF code for mysql that links with libcurlpp.so.
I'm building it using cmake using PkgConfig tool as following:
find_package(PkgConfig REQUIRED)
pkg_check_modules(CURLPP_PKG REQUIRED IMPORTED_TARGET…
I am trying to test run the first example in curlpp and I am getting the error "Undefined symbol: _curl_easy_setopt". I have an idea that this is a problem with how I have tried linking the library. Below is my methodology.
header search paths ->…
I'm trying to get the content from http pages in a string the way it is adviced here. I downloaded the curlpp zip and added the include folders to my project using INCLUDEPATH += "" in the .pro file and of course included them in the header of…
When I use cURLpp to call an API, I got some errors, anyone can help me? I think caused by I linking both TorchScript library and cURLpp library because I can run another project with each library separately.
CMakeLists.txt…