/tmp/ccu3AelN.o: In function `cpr::Response cpr::Get<std::string>(std::string&&)': rest_api_call.cpp:(.text._ZN3cpr3GetIISsEEENS_8ResponseEDpOT_[_ZN3cpr3GetIISsEEENS_8ResponseEDpOT_]+0x19): undefined reference to `cpr::Session::Session()' rest_api_call.cpp:(.text._ZN3cpr3GetIISsEEENS_8ResponseEDpOT_[_ZN3cpr3GetIISsEEENS_8ResponseEDpOT_]+0x4a): undefined reference to `cpr::Session::Get()' rest_api_call.cpp:(.text._ZN3cpr3GetIISsEEENS_8ResponseEDpOT_[_ZN3cpr3GetIISsEEENS_8ResponseEDpOT_]+0x57): undefined reference to `cpr::Session::~Session()' rest_api_call.cpp:(.text._ZN3cpr3GetIISsEEENS_8ResponseEDpOT_[_ZN3cpr3GetIISsEEENS_8ResponseEDpOT_]+0x68): undefined reference to `cpr::Session::~Session()' /tmp/ccu3AelN.o: In function `void cpr::priv::set_option<std::string>(cpr::Session&, std::string&&)': rest_api_call.cpp:(.text._ZN3cpr4priv10set_optionISsEEvRNS_7SessionEOT_[_ZN3cpr4priv10set_optionISsEEvRNS_7SessionEOT_]+0x2a): undefined reference to `cpr::Session::SetOption(std::string const&)' collect2: error: ld returned 1 exit status
cpr::Session
cpr.h
/home/user/cpr/include
/home/user/cpr/lib
-L /home/user/cpr/lib -l cpr
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)