Difficult to search for headers with GCC

  c++, gcc

Please help me!
I think it’s simple but I can’t seem to find a solution ๐Ÿ˜‰

My GCC version is 4.9.2
Debian 8 Jessie
ARMHF 32 Bits

I installed POCO Librairies (for the experts), and I made :
(on the folder: /home/android/poco_test )


And in more detail :

  • a src file (for information purposes):
    ——|–Net …

  • an include folder (the most important one)
    | –include

I have an example file from POCO (available here – https://pocoproject.org/ – at the bottom).

To make it simple, in the C++ file PocoTestServer.c there is :
#include "Poco/Net/HTTPServer.h"

And when I do :
root:/home/android/poco_test $ gcc -o PocoTestServer.c PocoTest32
//error : Poco/Net/HTTPServer.h : no such file or directory
but it is present but in the include too.

I tried to do gcc -Iinclude PocoTestServer.c -o PocoTest32, it works but it does not find the headers installed by default by the GCC (include <type_traits> not found …)

Thanks in advance ๐Ÿ™‚

Source: Windows Questions C++