kdev-clang not finding included files

Aleix Pol aleixpol at kde.org
Sat Jul 16 23:02:34 UTC 2016


On Sat, Jul 16, 2016 at 9:48 PM, Sven Brauch <mail at svenbrauch.de> wrote:
> Ok, the first issue is fixed now ("stlib.h: no such file or directory").
> What remains is the "fooexport.h not found" issue. To be honest, I don't
> even understand how it works in the compile process: The file is
> installed into e.g.
> include/kdevplatform/serialization/serializationexport.h. But
> include/kdevplatform/serialization is not part of the include paths.
> Still, e.g. indexedstring.h includes it like #include
> "serializationexport.h". Why does this work when compiling?
>
> I'm confused, can somebody shed light on this issue?

Because when using " in contrast to <, to include, it checks the
current directory first.
https://gcc.gnu.org/onlinedocs/cpp/Include-Syntax.html

HTH
Aleix


More information about the KDevelop-devel mailing list