Im trying to use Poco Lib
On the raspi is used apt-get install libpoco-dev to install precompiled binaries.
Now i try a simple test:
#include “Poco/Net/DNS.h”
using Poco::Net::DNS;
using Poco::Net::IPAddress;
using Poco::Net::HostEntry;
int main(int argc, char** argv) {
const HostEntry& entry = DNS::hostByName(“www.appinf.com”);
std::cout << “Canonical Name: ” << entry.name() << std::endl;
}
IntelliSense does not recognize the files, and when i try to compile i get some “file not found” and “undecalred identifyier” errors. In this forum i found a post where someone says
Created a new project and sync all the system root headers and library
but i dont know how to do this.
Can anyone help?