zaufi / kate-cpp-helper-plugin

Plugin to simplify writing C++ code using Kate editor and clang
http://zaufi.github.io/kate-cpp-helper-plugin.html
GNU General Public License v3.0
22 stars 3 forks source link

cmake issue when building on kde 4.14 #21

Closed bschindler closed 10 years ago

bschindler commented 10 years ago

Hi

I just wanted to try out the plugin, but cmake failed to run successfully:

benjamin@metis ~/Projects/kate-cpp-helper-plugin/build [master] $ cmake . -- Configuration type chosen: Release -- Found Qt-Version 4.8.5 (using /usr/bin/qmake) -- Found X11: /usr/lib64/libX11.so -- Found KDE 4.12 include dir: /usr/include -- Found KDE 4.12 library dir: /usr/lib64 -- Found the KDE4 kconfig_compiler preprocessor: /usr/bin/kconfig_compiler -- Found automoc4: /usr/bin/automoc4 -- Found LLVM configuration tool: /usr/bin/llvm-config -- Found Clang C API: /usr/lib64/libclang.so (version 3.5.0) -- Boost version: 1.55.0 -- Found the following Boost libraries: -- filesystem -- serialization -- system -- unit_test_framework -- Found Xapian library: /usr/lib64/libxapian.so -- Setting options for Release build type -- WARNING: Message Sequence Chart renderer not found. Please get a copy from http://www.mcternan.me.uk/mscgen/ -- WARNING: Dia not found. Please get a copy from https://wiki.gnome.org/Apps/Dia. -- Found /usr/bin/xdg-open -- WARNING: You need to install GNU Autogen to be able to produce new C++ sources from skeletons -- Configuring done CMake Error at /usr/share/apps/cmake/modules/KDE4Macros.cmake:690 (add_library): Cannot find source file:

preprocessor_completion_model.cpp

Tried extensions .c .C .c++ .cc .cpp .cxx .m .M .mm .h .hh .h++ .hm .hpp .hxx .in .txx Call Stack (most recent call first): src/CMakeLists.txt:81 (kde4_add_plugin)

-- Build files have been written to: /home/benjamin/Projects/kate-cpp-helper-plugin/build

Note, this is on a gentoo box.

zaufi commented 10 years ago

Thanks for the report, I'll take a look on a next week when will be back from my vacation %) What CMake version do you have, BTW?

codepony commented 10 years ago

Same problem with 'cmake version 3.0.2'

zaufi commented 10 years ago

Huh, I've missed a real reason %) Are you trying to build git master? It is under development nowadays and I've just forgot to add the preprocessor_completion_model.cpp file to git %) Actually master is not stable yet (I'm still doing better support for preprocessor and #include completions). You'd better to buld the latest release instead.