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 installation, but when I tried to compile the sample program in its readme file with:
c++ -std=c++11 -I /file/path/curlcpp-master/include curl.cpp -L /file/path/curlcpp-master/build/src -lcurlcpp -o curl
my compiler gives me what appears to be a linking error:
Undefined symbols for architecture x86_64:
"_curl_easy_cleanup", referenced from:
curl::curl_easy::operator=(curl::curl_easy const&) in libcurlcpp.a(curl_easy.cpp.o)
curl::curl_easy::~curl_easy() in libcurlcpp.a(curl_easy.cpp.o)
etc.
I then tried curlpp, which I downloaded from here: https://github.com/jpbarrette/curlpp
But what I downloaded had no configure file. If anyone is able to help me successfully install either of these programs I would be enormously grateful.