options is not a member of curlpp

161 Views Asked by At

I was recently working on a project to make HTTP requests in C++. I found the libcurl library with the curlpp wrapper in another StackOverflow question. But when I set it up, it tells me that options is not a member of curlpp.

#include <iostream>
#include "curlpp/cURLpp.hpp"
#include "curlpp/Options.hpp"

curlpp::Cleanup myCleanup;
std::ostringstream os;
using namespace BlaguesAPI;
int main() {
  os << curlpp::options::Url(std::string("http://youtube.com")); // Here
  return 0;
}

In my workspace folder, I added the include folder of the official .zip file available for download here.

Did I miss something?

0

There are 0 best solutions below