<p dir="ltr">I pulled the latest kdevelop5 and tried to build it and got the error messages... is there missing code or is there parameter that need to be supplied when doing a cmake?</p>
<p dir="ltr">../../../lib/libkdevclangutil.a(clangutils.cpp.o):clangutils.cpp:(.text+0xcbe): undefined reference to `clang_getCursorKind'<br>
../../../lib/libkdevclangutil.a(clangutils.cpp.o):clangutils.cpp:(.text+0xcbe): additional relocation overflows omitted from the output<br>
../../../lib/libkdevclangutil.a(clangutils.cpp.o):clangutils.cpp:(.text+0xd08): undefined reference to `clang_Cursor_getNumArguments'<br>
../../../lib/libkdevclangutil.a(clangutils.cpp.o):clangutils.cpp:(.text+0xd6a): undefined reference to `clang_getCursorLocation'<br>
../../../lib/libkdevclangutil.a(clangutils.cpp.o):clangutils.cpp:(.text+0xda7): undefined reference to `clang_getFileLocation'<br>
../../../lib/libkdevclangutil.a(clangutils.cpp.o):clangutils.cpp:(.text+0xe6b): undefined reference to `clang_getFileName'<br>
../../../lib/libkdevclangutil.a(clangutils.cpp.o):clangutils.cpp:(.text+0xfa2): undefined reference to `clang_Cursor_getTranslationUnit'<br>
../../../lib/libkdevclangutil.a(clangutils.cpp.o):clangutils.cpp:(.text+0x100a): undefined reference to `clang_Cursor_getArgument'<br>
../../../lib/libkdevclangutil.a(clangutils.cpp.o):clangutils.cpp:(.text+0x13dc): undefined reference to `clang_getCursorLexicalParent'<br>
../../../lib/libkdevclangutil.a(clangutils.cpp.o):clangutils.cpp:(.text+0x143c): undefined reference to `clang_getCanonicalCursor'<br>
../../../lib/libkdevclangutil.a(clangutils.cpp.o):clangutils.cpp:(.text+0x14a5): undefined reference to `clang_getCursorSemanticParent'<br>
../../../lib/libkdevclangutil.a(clangutils.cpp.o):clangutils.cpp:(.text+0x14e0): undefined reference to `clang_getCursorKind'<br>
../../../lib/libkdevclangutil.a(clangutils.cpp.o):clangutils.cpp:(.text+0x1552): undefined reference to `clang_equalCursors'<br>
../../../lib/libkdevclangutil.a(clangutils.cpp.o):clangutils.cpp:(.text+0x15a9): undefined reference to `clang_getCursorDisplayName'<br>
../../../lib/libkdevclangutil.a(clangutils.cpp.o):clangutils.cpp:(.text+0x1646): undefined reference to `clang_getCursorSemanticParent'<br>
../../../lib/libkdevclangutil.a(clangutils.cpp.o):clangutils.cpp:(.text+0x171c): undefined reference to `clang_getCursorKind'<br>
../../../lib/libkdevclangutil.a(clangutils.cpp.o):clangutils.cpp:(.text+0x17b6): undefined reference to `clang_getCursorResultType'<br>
../../../lib/libkdevclangutil.a(clangutils.cpp.o):clangutils.cpp:(.text+0x17e1): undefined reference to `clang_getTypeSpelling'<br>
../../../lib/libkdevclangutil.a(clangutils.cpp.o):clangutils.cpp:(.text+0x1a41): undefined reference to `clang_Cursor_getNumArguments'<br>
../../../lib/libkdevclangutil.a(clangutils.cpp.o):clangutils.cpp:(.text+0x1a9b): undefined reference to `clang_Cursor_getArgument'<br>
../../../lib/libkdevclangutil.a(clangutils.cpp.o):clangutils.cpp:(.text+0x1ace): undefined reference to `clang_getCursorType'<br>
../../../lib/libkdevclangutil.a(clangutils.cpp.o):clangutils.cpp:(.text+0x1b02): undefined reference to `clang_getTypeSpelling'<br>
../../../lib/libkdevclangutil.a(clangutils.cpp.o):clangutils.cpp:(.text+0x1cc1): undefined reference to `clang_getCursorDisplayName'<br>
../../../lib/libkdevclangutil.a(clangutils.cpp.o):clangutils.cpp:(.text+0x1e46): undefined reference to `clang_Cursor_isVariadic'<br>
../../../lib/libkdevclangutil.a(clangutils.cpp.o):clangutils.cpp:(.text+0x1ec6): undefined reference to `clang_CXXMethod_isConst'<br>
../../../lib/libkdevclangutil.a(clangutils.cpp.o):clangutils.cpp:(.text+0x1f63): undefined reference to `clang_getRangeStart'<br>
../../../lib/libkdevclangutil.a(clangutils.cpp.o):clangutils.cpp:(.text+0x1f8a): undefined reference to `clang_getRangeEnd'<br>
../../../lib/libkdevclangutil.a(clangutils.cpp.o):clangutils.cpp:(.text+0x1fd1): undefined reference to `clang_getFileLocation'<br>
../../../lib/libkdevclangutil.a(clangutils.cpp.o):clangutils.cpp:(.text+0x200f): undefined reference to `clang_getFileLocation'<br>
../../../lib/libkdevclangutil.a(clangutils.cpp.o):clangutils.cpp:(.text+0x20ea): undefined reference to `clang_getTokenLocation'<br>
../../../lib/libkdevclangutil.a(clangutils.cpp.o):clangutils.cpp:(.text+0x2173): undefined reference to `clang_getFileLocation'<br>
../../../lib/libkdevclangutil.a(clangutils.cpp.o):clangutils.cpp:(.text+0x220d): undefined reference to `clang_getTokenSpelling'<br>
../../../lib/libkdevclangutil.a(clangutils.cpp.o):clangutils.cpp:(.text+0x2229): undefined reference to `clang_getCString'<br>
../../../lib/libkdevclangutil.a(clangutils.cpp.o):clangutils.cpp:(.text+0x2258): undefined reference to `clang_disposeString'<br>
../../../lib/libkdevclangutil.a(clangutils.cpp.o):clangutils.cpp:(.text+0x22fb): undefined reference to `clang_getCursorAvailability'<br>
../../../lib/libkdevclangutil.a(clangutils.cpp.o):clangutils.cpp:(.text+0x233e): undefined reference to `clang_getCanonicalCursor'<br>
../../../lib/libkdevclangutil.a(clangutils.cpp.o):clangutils.cpp:(.text+0x236a): undefined reference to `clang_Cursor_getTranslationUnit'<br>
../../../lib/libkdevclangutil.a(clangutils.cpp.o):clangutils.cpp:(.text+0x245c): undefined reference to `clang_getTokenKind'<br>
../../../lib/libkdevclangutil.a(clangutils.cpp.o):clangutils.cpp:(.text+0x24d5): undefined reference to `clang_getTokenSpelling'<br>
../../../lib/libkdevclangutil.a(clangutils.cpp.o):clangutils.cpp:(.text+0x25f4): undefined reference to `clang_getTokenSpelling'<br>
../../../lib/libkdevclangutil.a(clangtypes.cpp.o):clangtypes.cpp:(.text+0x67): undefined reference to `clang_disposeString'<br>
../../../lib/libkdevclangutil.a(clangtypes.cpp.o):clangtypes.cpp:(.text+0x99): undefined reference to `clang_getCString'<br>
../../../lib/libkdevclangutil.a(clangtypes.cpp.o):clangtypes.cpp:(.text+0x26d): undefined reference to `clang_getFileLocation'<br>
../../../lib/libkdevclangutil.a(clangtypes.cpp.o):clangtypes.cpp:(.text+0x27d): undefined reference to `clang_getFileName'<br>
../../../lib/libkdevclangutil.a(clangtypes.cpp.o):clangtypes.cpp:(.text+0x431): undefined reference to `clang_getRangeStart'<br>
../../../lib/libkdevclangutil.a(clangtypes.cpp.o):clangtypes.cpp:(.text+0x49f): undefined reference to `clang_getRangeEnd'<br>
../../../lib/libkdevclangutil.a(clangtypes.cpp.o):clangtypes.cpp:(.text+0x549): undefined reference to `clang_getRangeStart'<br>
../../../lib/libkdevclangutil.a(clangtypes.cpp.o):clangtypes.cpp:(.text+0x58f): undefined reference to `clang_getFileLocation'<br>
../../../lib/libkdevclangutil.a(clangtypes.cpp.o):clangtypes.cpp:(.text+0x59f): undefined reference to `clang_getFileName'<br>
../../../lib/libkdevclangutil.a(clangtypes.cpp.o):clangtypes.cpp:(.text+0x7bc): undefined reference to `clang_tokenize'<br>
../../../lib/libkdevclangutil.a(clangtypes.cpp.o):clangtypes.cpp:(.text+0x7f1): undefined reference to `clang_disposeTokens'<br>
../../../lib/libkdevclangutil.a(clangtypes.cpp.o):clangtypes.cpp:(.text+0x956): undefined reference to `clang_getFileLocation'<br>
../../../lib/libkdevclangutil.a(clangtypes.cpp.o):clangtypes.cpp:(.text+0x9de): undefined reference to `clang_getFileLocation'<br>
collect2: error: ld returned 1 exit status<br>
languages/clang/tests/CMakeFiles/test_clangutils.dir/build.make:130: recipe for target 'bin/test_clangutils.exe' failed<br>
make[2]: *** [bin/test_clangutils.exe] Error 1<br>
CMakeFiles/Makefile2:6059: recipe for target 'languages/clang/tests/CMakeFiles/test_clangutils.dir/all' failed<br>
make[1]: *** [languages/clang/tests/CMakeFiles/test_clangutils.dir/all] Error 2<br>
make[1]: *** Waiting for unfinished jobs....<br>
[100%] Building CXX object languages/clang/tests/CMakeFiles/test_codecompletion.dir/test_codecompletion.cpp.o<br>
[100%] Building CXX object languages/clang/tests/CMakeFiles/test_codecompletion.dir/test_codecompletion_automoc.cpp.o<br>
[100%] Linking CXX executable ../../../bin/test_codecompletion.exe<br>
[100%] Built target test_codecompletion<br>
Makefile:138: recipe for target 'all' failed<br>
make: *** [all] Error 2<br></p>