I have installed Poco, "./configure; make;", made POCO_BASE variable that contains path to Poco directory.
Now when I include any poco .h file, all is fine! Compiled does not tell me that path is wrong. But when I use Poco classes in project, than I see errors,
- Code: Select all
/tmp/cckqLASA.o: In function `main':
MyProg.cpp:(.text+0x6fe): undefined reference to `Poco::Net::ServerSocket::ServerSocket(unsigned short, int)'
MyProg.cpp:(.text+0x70f): undefined reference to `Poco::Net::ServerSocket::~ServerSocket()'
collect2: ld returned 1 exit status