Missing include breaks compilation?

Milian Wolff mail at milianw.de
Tue Jan 10 15:52:56 UTC 2017


On Tuesday, January 10, 2017 4:10:43 PM CET Alexander Zhigalin wrote:
> Hello.
> 
> During KDevelop compilation I got this error:
> > ~/src/kdevelop/languages/clang/codecompletion/completionhelper.h:27:27:
> > fatal error: clang-c/Index.h: No such file
> (latest master)
> 
> This include is producing that error:
> > #include <clang-c/Index.h>
> 
> The unique similar file I have found is
> kdevelop/languages/clang/duchain/clangindex.h There are includes for both
> files however...
> 
> What I am doing wrong?

Can you locate that file on your system? It should be part of the C API of 
clang, potentially you are missing some -dev package?

For me, that file is located within /usr/include/clang-c/Index.h

Cheers

-- 
Milian Wolff
mail at milianw.de
http://milianw.de


More information about the KDevelop-devel mailing list