fatal error: KWindowShadow: No such file or directory
Closed this issue · 2 comments
I got the same problem : #83
Can't find any answer on the internet, except https://www.mail-archive.com/kde-bugs-dist@kde.org/msg415150.html that is about Breeze and that I don't understand
shabang@lunix:~/linuxSetups/Lightly-0.4.1/build$ sudo make
Scanning dependencies of target lightlycommon5_autogen
[ 1%] Automatic MOC for target lightlycommon5
[ 1%] Built target lightlycommon5_autogen
Scanning dependencies of target lightlycommon5
[ 2%] Building CXX object liblightlycommon/CMakeFiles/lightlycommon5.dir/lightlycommon5_autogen/mocs_compilation.cpp.o
[ 3%] Building CXX object liblightlycommon/CMakeFiles/lightlycommon5.dir/lightlyboxshadowrenderer.cpp.o
[ 4%] Linking CXX shared library ../bin/liblightlycommon5.so
[ 4%] Built target lightlycommon5
Scanning dependencies of target lightlydecoration_autogen
[ 5%] Automatic MOC for target lightlydecoration
[ 5%] Built target lightlydecoration_autogen
[ 6%] Generating ui_lightlyexceptionlistwidget.h
[ 7%] Generating lightlysettings.h, lightlysettings.cpp
[ 9%] Generating ui_lightlyconfigurationui.h
[ 10%] Generating ui_lightlydetectwidget.h
[ 11%] Generating ui_lightlyexceptiondialog.h
Scanning dependencies of target lightlydecoration
[ 12%] Building CXX object kdecoration/CMakeFiles/lightlydecoration.dir/lightlydecoration_autogen/mocs_compilation.cpp.o
[ 13%] Building CXX object kdecoration/CMakeFiles/lightlydecoration.dir/lightlybutton.cpp.o
[ 14%] Building CXX object kdecoration/CMakeFiles/lightlydecoration.dir/lightlydecoration.cpp.o
[ 15%] Building CXX object kdecoration/CMakeFiles/lightlydecoration.dir/lightlyexceptionlist.cpp.o
[ 17%] Building CXX object kdecoration/CMakeFiles/lightlydecoration.dir/lightlysettingsprovider.cpp.o
[ 18%] Building CXX object kdecoration/CMakeFiles/lightlydecoration.dir/lightlysizegrip.cpp.o
[ 19%] Building CXX object kdecoration/CMakeFiles/lightlydecoration.dir/lightlysettings.cpp.o
[ 20%] Building CXX object kdecoration/CMakeFiles/lightlydecoration.dir/config/lightlyconfigwidget.cpp.o
[ 21%] Building CXX object kdecoration/CMakeFiles/lightlydecoration.dir/config/lightlydetectwidget.cpp.o
[ 22%] Building CXX object kdecoration/CMakeFiles/lightlydecoration.dir/config/lightlyexceptiondialog.cpp.o
[ 23%] Building CXX object kdecoration/CMakeFiles/lightlydecoration.dir/config/lightlyexceptionlistwidget.cpp.o
[ 25%] Building CXX object kdecoration/CMakeFiles/lightlydecoration.dir/config/lightlyexceptionmodel.cpp.o
[ 26%] Building CXX object kdecoration/CMakeFiles/lightlydecoration.dir/config/lightlyitemmodel.cpp.o
[ 27%] Linking CXX shared module ../bin/lightlydecoration.so
[ 27%] Built target lightlydecoration
Scanning dependencies of target lightly_autogen
[ 28%] Automatic MOC for target lightly
[ 28%] Built target lightly_autogen
[ 29%] Generating lightlystyleconfigdata.h, lightlystyleconfigdata.cpp
Scanning dependencies of target lightly
[ 30%] Building CXX object kstyle/CMakeFiles/lightly.dir/lightly_autogen/mocs_compilation.cpp.o
In file included from /home/shabang/linuxSetups/Lightly-0.4.1/kstyle/lightlyhelper.h:29,
from /home/shabang/linuxSetups/Lightly-0.4.1/kstyle/lightlyblurhelper.h:35,
from /home/shabang/linuxSetups/Lightly-0.4.1/build/kstyle/lightly_autogen/EWIEGA46WW/moc_lightlyblurhelper.cpp:9,
from /home/shabang/linuxSetups/Lightly-0.4.1/build/kstyle/lightly_autogen/mocs_compilation.cpp:33:
/home/shabang/linuxSetups/Lightly-0.4.1/kstyle/lightlyshadowhelper.h:26:10: fatal error: KWindowShadow: Aucun fichier ou dossier de ce type
#include < KWindowShadow >
^~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [kstyle/CMakeFiles/lightly.dir/build.make:71: kstyle/CMakeFiles/lightly.dir/lightly_autogen/mocs_compilation.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:719: kstyle/CMakeFiles/lightly.dir/all] Error 2
make: *** [Makefile:141: all] Error 2
I reinstalled all dependancies, maybe is there a problem with my version of kwindowsystem ? Btw don't know hot to change it
Thanks
Problem solved by changing my distro : Kubuntu works well.
For the curious, the problem comes from the version of KDE that comes with Debian, it is under 5.16, and no newer version will be available before Debian 11 or 12.
Would be appreciated for newcomers to have something like a "Requirements" category in the readme, to deal with the compatibility of Lightly with old versions (but still used) versions of KDE.