kate-cpp-helper-plugin
kate-cpp-helper-plugin copied to clipboard
but it set Clang_FOUND to FALSE so package "Clang" is considered to be NOT FOUND
Hi! I ran into a problem when tried build your plugin.
All minimal requiements is valid.
It's my cmake command:
~/local/bin/cmake -DNO_DOXY_DOCS=ON -DBUILD_TESTING=OFF
-DCMAKE_POSITION_INDEPENDENT_CODE=TRUE
-DQT_QMAKE_EXECUTABLE=/usr/bin/qmake-qt4
-DCMAKE_PREFIX_PATH=/usr/lib/llvm-3.8/share/clang/cmake
-DCMAKE_INSTALL_PREFIX=~/local ..
Here is error which i got when tried build:
CMake Error at CMakeLists.txt:78 (find_package):
Found package configuration file:
/usr/lib/llvm-3.8/share/clang/cmake/ClangConfig.cmake
but it set Clang_FOUND to FALSE so package "Clang" is considered to be NOT
FOUND. Reason given by package:
The following imported targets are referenced, but are missing: LLVM
Also, cmake doesn't want find kate includes:
Run Build Command:"/usr/bin/make" "cmTC_22c24/fast"
/usr/bin/make -f CMakeFiles/cmTC_22c24.dir/build.make CMakeFiles/cmTC_22c24.dir/build
make[1]: Entering directory
'/<lets-omit-it>/kate-cpp-helper-plugin/build/CMakeFiles/CMakeTmp'
Building CXX object CMakeFiles/cmTC_22c24.dir/CheckIncludeFile.cxx.o
/usr/bin/c++ -I/usr/include/KDE -I/usr/include/qt4/phonon
-I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtXml
-I/usr/include/qt4/QtUiTools -I/usr/include/qt4/QtTest
-I/usr/include/qt4/QtSvg -I/usr/include/qt4/QtSql
-I/usr/include/qt4/QtScriptTools -I/usr/include/qt4/QtScript
-I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtNetwork
-I/usr/include/qt4/QtHelp -I/usr/include/qt4/QtDesigner
-I/usr/include/qt4/QtDeclarative -I/usr/include/qt4/QtDBus
-I/usr/include/qt4/Qt3Support -I/usr/include/qt4/QtGui
-I/usr/include/qt4/QtCore -I/usr/include/qt4/Qt
-I/usr/share/qt4/mkspecs/default -I/usr/include/qt4
-Wnon-virtual-dtor -Wno-long-long -Wundef -Wcast-align -Wchar-subscripts
-Wall -W -Wpointer-arith -Wformat-security -fno-exceptions
-DQT_NO_EXCEPTIONS -fno-check-new -fno-common -Woverloaded-virtual
-fno-threadsafe-statics -fvisibility=hidden -Werror=return-type
-fvisibility-inlines-hidden -fPIE
-o CMakeFiles/cmTC_22c24.dir/CheckIncludeFile.cxx.o -c
/<lets-omit-it>/kate-cpp-helper-plugin/build/CMakeFiles/CMakeTmp/
CheckIncludeFile.cxx
/<lets-omit-it>/kate-cpp-helper-plugin/build/CMakeFiles/CMakeTmp/
CheckIncludeFile.cxx:1:29:
fatal error: kate/mainwindow.h: No such file or directory
#include <kate/mainwindow.h>
I installed llvm and llvm-3.8-dev.
What's wrong?
What OS do you use? I'll try to reproduce it in the corresponding docker
container...
Debian 9 "Stretch".
Thanks. I'll try it after my vacation.
On Sat, 9 Mar 2019, 05:15 Hesed, [email protected] wrote:
Debian 9 "Stretch".
— You are receiving this because you were assigned. Reply to this email directly, view it on GitHub https://github.com/zaufi/kate-cpp-helper-plugin/issues/28#issuecomment-471094874, or mute the thread https://github.com/notifications/unsubscribe-auth/AAhfa2lntKBaQQgCKj_vdMKS3-6vV7Hcks5vUuEWgaJpZM4bfRdP .
Sorry for so long delay %)
I've played w/ debian:9
docker and found that I've moved this project to Clang 4.0, which provides CMake support (so old FindLibClang.cmake
is not used anymore). Also, I recall that it requires boost >= 1.63 (and FindBoost
of newer CMake provides impoted targets for it).
So I failed to build the master
in the Debian 9 docker...