https://bugs.kde.org/show_bug.cgi?id=393779
Bernd Buschinski <b.buschin...@googlemail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |b.buschin...@googlemail.com

--- Comment #41 from Bernd Buschinski <b.buschin...@googlemail.com> ---
Current master does not work under gentoo.

It gives

kdevplatform.shell: Could not load plugin "kdevclangsupport" , it reported the
error: "The clang builtin include path
\"/usr/lib64/llvm/7/lib64/clang/7.0.0/include\" is invalid (missing cpuid.h
header).\nTry setting the KDEV_CLANG_BUILTIN_DIR environment variable manually
to fix this.\nSee also: https://bugs.kde.org/show_bug.cgi?id=393779"; Disabling
the plugin now.

which is not existing directory.

Manually setting
CLEAR_DUCHAIN_DIR=1 KDEV_CLANG_BUILTIN_DIR=/usr/lib64/clang/7.0.0/include/
kdevelop

works fine.

I think the solution is to use

#define KDEV_CLANG_BUILTIN_DIR "@CLANG_INCLUDE_DIRS@"

in the libclang_include_path.h instead of building the include dir manually.
I will post a patch soon. :)

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to