tildearrow / kwin-lowlatency

archived - X11 full-screen unredirection and lots'a settings for KWin
373 stars 10 forks source link

Does not compile #112

Closed zoeleu closed 2 years ago

zoeleu commented 3 years ago
/home/matteo/.cache/yay/kwin-lowlatency/src/kwin-lowlatency/effects/blur/blur.cpp: In constructor ‘KWin::BlurEffect::BlurEffect()’:
/home/matteo/.cache/yay/kwin-lowlatency/src/kwin-lowlatency/effects/blur/blur.cpp:47:38: error: ‘class KWaylandServer::Display’ has no member named ‘createBlurManager’
   47 |             m_blurManager = display->createBlurManager(this);
      |                                      ^~~~~~~~~~~~~~~~~
make[2]: *** [effects/CMakeFiles/kwin4_effect_builtins.dir/build.make:372: effects/CMakeFiles/kwin4_effect_builtins.dir/blur/blur.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:6507: effects/CMakeFiles/kwin4_effect_builtins.dir/all] Error 2
make: *** [Makefile:136: all] Error 2
==> ERROR: A failure occurred in build().
    Aborting...
error making: kwin-lowlatency
fr-em commented 3 years ago

Hello,

I get an similar error on Manjaro with Plasma 5.21.4 & Kernel 5.12.1-2:

/var/tmp/pamac-build-rene/kwin-lowlatency/src/kwin-lowlatency/kcmkwin/kwindecoration/kcm.cpp: In Elementfunktion »void KCMKWinDecoration::getNewStuff(QQuickItem*)«:
/var/tmp/pamac-build-rene/kwin-lowlatency/src/kwin-lowlatency/kcmkwin/kwindecoration/kcm.cpp:103:95: Warnung: »KNS3::DownloadDialog::DownloadDialog(const QString&, QWidget*)« ist veraltet: Since 5.80. Use the QML components or the KNS3::QtQuickDialogWrapper instead [-Wdeprecated-declarations]
  103 |         m_newStuffDialog = new KNS3::DownloadDialog(QStringLiteral("window-decorations.knsrc"));
      |                                                                                               ^
In Datei, eingebunden von /usr/include/KF5/KNewStuff3/KNS3/DownloadDialog:1,
                 von /var/tmp/pamac-build-rene/kwin-lowlatency/src/kwin-lowlatency/kcmkwin/kwindecoration/kcm.cpp:26:
/usr/include/KF5/KNewStuff3/kns3/downloaddialog.h:123:14: Anmerkung: hier deklariert
  123 |     explicit DownloadDialog(const QString &configFile, QWidget *parent = nullptr);
      |              ^~~~~~~~~~~~~~
[ 20%] Built target kcm_kwin_scripts
[ 20%] Built target pofiles-67d56cccdfa405ce197b9c4f10bfee9a
[ 20%] Linking CXX shared module ../../bin/kwincompositing.so
[ 20%] Linking CXX shared module ../../bin/kcm_kwindecoration.so
[ 20%] Built target kwincompositing
[ 20%] Built target kcm_kwindecoration
[ 20%] Linking CXX static library ../../lib/libKWinRulesObjects.a
[ 20%] Built target KWinRulesObjects
make: *** [Makefile:136: all] Fehler 2
==> FEHLER: Ein Fehler geschah in build().
    Breche ab...
alien2003 commented 3 years ago

I have the same issue

nixigaj commented 3 years ago

Same issue here on Manjaro

tobek commented 3 years ago

According to https://github.com/tildearrow/kwin-lowlatency/issues/108#issuecomment-798643130, kwin-lowlatency isn't updated to support Plasma 5.21 yet. Might be possible to downgrade to 5.20 and then build the package?

yasindce1998 commented 2 years ago

same here build is failed.

yasindce1998 commented 2 years ago

Here is the full debug code [ 0%] Built target po-uk-docs-kcontrol-kwinscreenedges-index-cache-bz2 [ 0%] Built target po-uk-docs-kcontrol-kwineffects-index-cache-bz2 [ 0%] Built target po-uk-docs-kcontrol-kwindecoration-index-cache-bz2 [ 0%] Built target po-ru-docs-kcontrol-windowbehaviour-index-cache-bz2 [ 0%] Built target po-ru-docs-kcontrol-kwineffects-index-cache-bz2 [ 0%] Built target po-pt-BR-docs-kcontrol-windowbehaviour-index-cache-bz2 [ 0%] Built target po-sr-docs-kcontrol-desktop-index-cache-bz2 [ 0%] Built target po-pt-BR-docs-kcontrol-kwintabbox-index-cache-bz2 [ 0%] Built target po-pt-BR-docs-kcontrol-kwinscreenedges-index-cache-bz2 [ 0%] Built target po-pt-BR-docs-kcontrol-kwindecoration-index-cache-bz2 [ 0%] Built target po-pt-BR-docs-kcontrol-desktop-index-cache-bz2 [ 0%] Built target po-pt-docs-kcontrol-windowbehaviour-index-cache-bz2 [ 0%] Built target po-nl-docs-kcontrol-windowspecific-index-cache-bz2 [ 0%] Built target po-nl-docs-kcontrol-windowbehaviour-index-cache-bz2 [ 1%] Built target po-nl-docs-kcontrol-kwinscreenedges-index-cache-bz2 [ 1%] Built target po-nl-docs-kcontrol-kwineffects-index-cache-bz2 [ 1%] Built target po-nl-docs-kcontrol-kwindecoration-index-cache-bz2 [ 1%] Built target po-nl-docs-kcontrol-desktop-index-cache-bz2 [ 1%] Built target po-it-docs-kcontrol-windowspecific-index-cache-bz2 [ 1%] Built target po-it-docs-kcontrol-windowbehaviour-index-cache-bz2 [ 1%] Built target po-it-docs-kcontrol-kwintabbox-index-cache-bz2 [ 1%] Built target po-it-docs-kcontrol-kwinscreenedges-index-cache-bz2 [ 1%] Built target po-it-docs-kcontrol-kwineffects-index-cache-bz2 [ 1%] Built target po-sr-latin-docs-kcontrol-desktop-index-cache-bz2 [ 1%] Built target po-it-docs-kcontrol-kwindecoration-index-cache-bz2 [ 1%] Built target po-it-docs-kcontrol-desktop-index-cache-bz2 [ 1%] Built target po-id-docs-kcontrol-windowspecific-index-cache-bz2 [ 1%] Built target po-id-docs-kcontrol-kwineffects-index-cache-bz2 [ 1%] Built target po-id-docs-kcontrol-kwindecoration-index-cache-bz2 [ 1%] Built target po-id-docs-kcontrol-desktop-index-cache-bz2 [ 1%] Automatic MOC for target kwinxrenderutils [ 1%] Built target kwinxrenderutils_autogen Consolidate compiler generated dependencies of target kwinxrenderutils [ 1%] Built target kwinxrenderutils [ 1%] Automatic MOC for target kwinglutils [ 1%] Built target kwinglutils_autogen Consolidate compiler generated dependencies of target kwinglutils [ 2%] Built target kwinglutils [ 2%] Automatic MOC for target kwineffects [ 2%] Built target kwineffects_autogen Consolidate compiler generated dependencies of target kwineffects [ 2%] Built target kwineffects [ 2%] Automatic MOC for target kwin4_effect_builtins [ 2%] Built target kwin4_effect_builtins_autogen Consolidate compiler generated dependencies of target kwin4_effect_builtins [ 8%] Built target kwin4_effect_builtins [ 8%] Automatic MOC for target kwin [ 8%] Built target kwin_autogen Consolidate compiler generated dependencies of target kwin [ 8%] Building CXX object CMakeFiles/kwin.dir/kwin_autogen/mocs_compilation.cpp.o In file included from /home/u1tron/Downloads/build/kwin_autogen/Z7NZ4PKSFN/moc_decoratedclient.cpp:10, from /home/u1tron/Downloads/build/kwin_autogen/mocs_compilation.cpp:17: /home/u1tron/Downloads/build/kwin_autogen/Z7NZ4PKSFN/../../../kwin-lowlatency-5.18.8/decorations/decoratedclient.h:84:10: error: ‘void KWin::Decoration::DecoratedClientImpl::requestShowWindowMenu()’ marked ‘override’, but does not override 84 | void requestShowWindowMenu() override; | ^~~~~~~~~~~~~~~~~~~~~ make[2]: *** [CMakeFiles/kwin.dir/build.make:212: CMakeFiles/kwin.dir/kwin_autogen/mocs_compilation.cpp.o] Error 1 make[1]: *** [CMakeFiles/Makefile2:4775: CMakeFiles/kwin.dir/all] Error 2 make: *** [Makefile:146: all] Error 2

tildearrow commented 2 years ago

@yasindce1998 Question, are you using Plasma 5.18 or a later version? KWin-lowlatency is not available for 5.21+ yet...

tildearrow commented 2 years ago

I have updated KWin-lowlatency to 5.23.3 now. Try building it unless you are not on 5.22 or 5.23.

yasindce1998 commented 2 years ago

Operating System: Manjaro Linux KDE Plasma Version: 5.21.3 KDE Frameworks Version: 5.80.0 Qt Version: 5.15.2 Kernel Version: 5.10.26-1-MANJARO OS Type: 64-bit Graphics Platform: X11 Processors: 2 × AMD PRO A4-4350B R4, 5 COMPUTE CORES 2C+3G Memory: 3.7 GiB of RAM Graphics Processor: AMD STONEY

yasindce1998 commented 2 years ago

Let me try now Thank you

tildearrow commented 2 years ago

Notice: There's no KWin-lowlatency for 5.21. You might want to upgrade Plasma to 5.23 before installing KWin-lowlatency 5.23.

ptr1337 commented 2 years ago

@tildearrow

The latest update does not compile in a chroot and also not if using the normal kwin PKGBUILD and customize it.

Seems like missing dependencies. I'll figure it out.

-- Generating done
-- Build files have been written to: /tmp/pkg/src/build
[  0%] Generating ts...
[  0%] Generating po/ca/docs/kcontrol/kwineffects/index.cache.bz2
[  0%] Generating po/ca/docs/kcontrol/kwintabbox/index.cache.bz2
[  0%] Generating po/ca/docs/kcontrol/desktop/index.cache.bz2
[  0%] Generating po/ca/docs/kcontrol/kwinscreenedges/index.cache.bz2
[  1%] Generating po/ca/docs/kcontrol/kwindecoration/index.cache.bz2
[  1%] Generating mo...
[  1%] Generating po/ca/docs/kcontrol/kwintouchscreen/index.cache.bz2
[  1%] Generating po/ca/docs/kcontrol/kwinvirtualkeyboard/index.cache.bz2
[  1%] Generating po/ca/docs/kcontrol/windowbehaviour/index.cache.bz2
[  1%] Generating po/de/docs/kcontrol/kwindecoration/index.cache.bz2
[  1%] Generating po/de/docs/kcontrol/desktop/index.cache.bz2
[  1%] Generating po/ca/docs/kcontrol/windowspecific/index.cache.bz2
[  1%] Generating po/de/docs/kcontrol/kwineffects/index.cache.bz2
[  1%] Generating po/de/docs/kcontrol/kwintabbox/index.cache.bz2
[  1%] Generating po/de/docs/kcontrol/kwinscreenedges/index.cache.bz2
[  1%] Generating po/de/docs/kcontrol/kwinvirtualkeyboard/index.cache.bz2
[  1%] Generating po/de/docs/kcontrol/kwintouchscreen/index.cache.bz2
[  1%] Generating po/es/docs/kcontrol/desktop/index.cache.bz2
[  1%] Generating po/de/docs/kcontrol/windowspecific/index.cache.bz2
[  2%] Generating po/fr/docs/kcontrol/desktop/index.cache.bz2
[  2%] Generating po/fr/docs/kcontrol/kwintabbox/index.cache.bz2
[  2%] Generating po/de/docs/kcontrol/windowbehaviour/index.cache.bz2
[  2%] Generating po/fr/docs/kcontrol/kwinscreenedges/index.cache.bz2
/usr/bin/meinproc5: error while loading shared libraries: libicui18n.so.70: cannot open shared object file: No such file or directory
/usr/bin/meinproc5: error while loading shared libraries: libicui18n.so.70: cannot open shared object file: No such file or directory
/usr/bin/meinproc5: error while loading shared libraries: libicui18n.so.70: cannot open shared object file: No such file or directory
make[2]: *** [CMakeFiles/po-ca-docs-kcontrol-desktop-index-cache-bz2.dir/build.make:74: po/ca/docs/kcontrol/desktop/index.cache.bz2] Error 127
make[2]: *** [CMakeFiles/po-ca-docs-kcontrol-kwintabbox-index-cache-bz2.dir/build.make:74: po/ca/docs/kcontrol/kwintabbox/index.cache.bz2] Error 127
make[2]: *** [CMakeFiles/po-ca-docs-kcontrol-kwineffects-index-cache-bz2.dir/build.make:74: po/ca/docs/kcontrol/kwineffects/index.cache.bz2] Error 127
/usr/bin/meinproc5: error while loading shared libraries: libicui18n.so.70: cannot open shared object file: No such file or directory
/usr/bin/meinproc5: error while loading shared libraries: libicui18n.so.70: cannot open shared object file: No such file or directory
/usr/bin/meinproc5: error while loading shared libraries: libicui18n.so.70: cannot open shared object file: No such file or directory
make[2]: *** [CMakeFiles/po-ca-docs-kcontrol-kwintouchscreen-index-cache-bz2.dir/build.make:74: po/ca/docs/kcontrol/kwintouchscreen/index.cache.bz2] Error 127
make[1]: *** [CMakeFiles/Makefile2:3143: CMakeFiles/po-ca-docs-kcontrol-desktop-index-cache-bz2.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
make[1]: *** [CMakeFiles/Makefile2:3195: CMakeFiles/po-ca-docs-kcontrol-kwineffects-index-cache-bz2.dir/all] Error 2
/usr/bin/meinproc5: error while loading shared libraries: libicui18n.so.70: cannot open shared object file: No such file or directory
make[1]: *** [CMakeFiles/Makefile2:3247: CMakeFiles/po-ca-docs-kcontrol-kwintabbox-index-cache-bz2.dir/all] Error 2
make[2]: *** [CMakeFiles/po-ca-docs-kcontrol-kwinvirtualkeyboard-index-cache-bz2.dir/build.make:74: po/ca/docs/kcontrol/kwinvirtualkeyboard/index.cache.bz2] Error 127
make[2]: *** [CMakeFiles/po-ca-docs-kcontrol-kwindecoration-index-cache-bz2.dir/build.make:74: po/ca/docs/kcontrol/kwindecoration/index.cache.bz2] Error 127
make[2]: *** [CMakeFiles/po-ca-docs-kcontrol-windowbehaviour-index-cache-bz2.dir/build.make:74: po/ca/docs/kcontrol/windowbehaviour/index.cache.bz2] Error 127
make[1]: *** [CMakeFiles/Makefile2:3273: CMakeFiles/po-ca-docs-kcontrol-kwintouchscreen-index-cache-bz2.dir/all] Error 2
make[1]: *** [CMakeFiles/Makefile2:3299: CMakeFiles/po-ca-docs-kcontrol-kwinvirtualkeyboard-index-cache-bz2.dir/all] Error 2
make[1]: *** [CMakeFiles/Makefile2:3169: CMakeFiles/po-ca-docs-kcontrol-kwindecoration-index-cache-bz2.dir/all] Error 2
/usr/bin/meinproc5: error while loading shared libraries: libicui18n.so.70: cannot open shared object file: No such file or directory
/usr/bin/meinproc5: error while loading shared libraries: libicui18n.so.70: cannot open shared object file: No such file or directory
/usr/bin/meinproc5: error while loading shared libraries: libicui18n.so.70: cannot open shared object file: No such file or directory
make[1]: *** [CMakeFiles/Makefile2:3325: CMakeFiles/po-ca-docs-kcontrol-windowbehaviour-index-cache-bz2.dir/all] Error 2
/usr/bin/meinproc5: error while loading shared libraries: libicui18n.so.70: cannot open shared object file: No such file or directory
make[2]: *** [CMakeFiles/po-ca-docs-kcontrol-kwinscreenedges-index-cache-bz2.dir/build.make:74: po/ca/docs/kcontrol/kwinscreenedges/index.cache.bz2] Error 127
make[2]: *** [CMakeFiles/po-de-docs-kcontrol-kwindecoration-index-cache-bz2.dir/build.make:74: po/de/docs/kcontrol/kwindecoration/index.cache.bz2] Error 127
make[2]: *** [CMakeFiles/po-de-docs-kcontrol-desktop-index-cache-bz2.dir/build.make:74: po/de/docs/kcontrol/desktop/index.cache.bz2] Error 127
make[2]: *** [CMakeFiles/po-ca-docs-kcontrol-windowspecific-index-cache-bz2.dir/build.make:74: po/ca/docs/kcontrol/windowspecific/index.cache.bz2] Error 127
/usr/bin/meinproc5: error while loading shared libraries: libicui18n.so.70: cannot open shared object file: No such file or directory
make[1]: *** [CMakeFiles/Makefile2:3351: CMakeFiles/po-ca-docs-kcontrol-windowspecific-index-cache-bz2.dir/all] Error 2
make[1]: *** [CMakeFiles/Makefile2:3221: CMakeFiles/po-ca-docs-kcontrol-kwinscreenedges-index-cache-bz2.dir/all] Error 2
make[1]: *** [CMakeFiles/Makefile2:3377: CMakeFiles/po-de-docs-kcontrol-desktop-index-cache-bz2.dir/all] Error 2
make[1]: *** [CMakeFiles/Makefile2:3403: CMakeFiles/po-de-docs-kcontrol-kwindecoration-index-cache-bz2.dir/all] Error 2
make[2]: *** [CMakeFiles/po-de-docs-kcontrol-kwineffects-index-cache-bz2.dir/build.make:74: po/de/docs/kcontrol/kwineffects/index.cache.bz2] Error 127
make[1]: *** [CMakeFiles/Makefile2:3429: CMakeFiles/po-de-docs-kcontrol-kwineffects-index-cache-bz2.dir/all] Error 2
/usr/bin/meinproc5: error while loading shared libraries: libicui18n.so.70: cannot open shared object file: No such file or directory
make[2]: *** [CMakeFiles/po-de-docs-kcontrol-kwintabbox-index-cache-bz2.dir/build.make:74: po/de/docs/kcontrol/kwintabbox/index.cache.bz2] Error 127
/usr/bin/meinproc5: error while loading shared libraries: libicui18n.so.70: cannot open shared object file: No such file or directory
/usr/bin/meinproc5: error while loading shared libraries: libicui18n.so.70: cannot open shared object file: No such file or directory
make[1]: *** [CMakeFiles/Makefile2:3481: CMakeFiles/po-de-docs-kcontrol-kwintabbox-index-cache-bz2.dir/all] Error 2
make[2]: *** [CMakeFiles/po-de-docs-kcontrol-kwinvirtualkeyboard-index-cache-bz2.dir/build.make:74: po/de/docs/kcontrol/kwinvirtualkeyboard/index.cache.bz2] Error 127
make[2]: *** [CMakeFiles/po-de-docs-kcontrol-kwinscreenedges-index-cache-bz2.dir/build.make:74: po/de/docs/kcontrol/kwinscreenedges/index.cache.bz2] Error 127
make[1]: *** [CMakeFiles/Makefile2:3533: CMakeFiles/po-de-docs-kcontrol-kwinvirtualkeyboard-index-cache-bz2.dir/all] Error 2
/usr/bin/meinproc5: error while loading shared libraries: libicui18n.so.70: cannot open shared object file: No such file or directory
/usr/bin/meinproc5: error while loading shared libraries: libicui18n.so.70: cannot open shared object file: No such file or directory
make[1]: *** [CMakeFiles/Makefile2:3455: CMakeFiles/po-de-docs-kcontrol-kwinscreenedges-index-cache-bz2.dir/all] Error 2
make[2]: *** [CMakeFiles/po-fr-docs-kcontrol-kwinscreenedges-index-cache-bz2.dir/build.make:74: po/fr/docs/kcontrol/kwinscreenedges/index.cache.bz2] Error 127
make[2]: *** [CMakeFiles/po-de-docs-kcontrol-kwintouchscreen-index-cache-bz2.dir/build.make:74: po/de/docs/kcontrol/kwintouchscreen/index.cache.bz2] Error 127
/usr/bin/meinproc5: error while loading shared libraries: libicui18n.so.70: cannot open shared object file: No such file or directory
/usr/bin/meinproc5: error while loading shared libraries: libicui18n.so.70: cannot open shared object file: No such file or directory
/usr/bin/meinproc5: error while loading shared libraries: libicui18n.so.70: cannot open shared object file: No such file or directory
/usr/bin/meinproc5: error while loading shared libraries: libicui18n.so.70: cannot open shared object file: No such file or directory
make[1]: *** [CMakeFiles/Makefile2:3663: CMakeFiles/po-fr-docs-kcontrol-kwinscreenedges-index-cache-bz2.dir/all] Error 2
make[2]: *** [CMakeFiles/po-de-docs-kcontrol-windowspecific-index-cache-bz2.dir/build.make:74: po/de/docs/kcontrol/windowspecific/index.cache.bz2] Error 127
make[2]: *** [CMakeFiles/po-es-docs-kcontrol-desktop-index-cache-bz2.dir/build.make:74: po/es/docs/kcontrol/desktop/index.cache.bz2] Error 127
make[1]: *** [CMakeFiles/Makefile2:3507: CMakeFiles/po-de-docs-kcontrol-kwintouchscreen-index-cache-bz2.dir/all] Error 2
make[2]: *** [CMakeFiles/po-fr-docs-kcontrol-kwintabbox-index-cache-bz2.dir/build.make:74: po/fr/docs/kcontrol/kwintabbox/index.cache.bz2] Error 127
/usr/bin/meinproc5: error while loading shared libraries: libicui18n.so.70: cannot open shared object file: No such file or directory
make[2]: *** [CMakeFiles/po-fr-docs-kcontrol-desktop-index-cache-bz2.dir/build.make:74: po/fr/docs/kcontrol/desktop/index.cache.bz2] Error 127
make[1]: *** [CMakeFiles/Makefile2:3637: CMakeFiles/po-fr-docs-kcontrol-desktop-index-cache-bz2.dir/all] Error 2
make[1]: *** [CMakeFiles/Makefile2:3585: CMakeFiles/po-de-docs-kcontrol-windowspecific-index-cache-bz2.dir/all] Error 2
make[1]: *** [CMakeFiles/Makefile2:3611: CMakeFiles/po-es-docs-kcontrol-desktop-index-cache-bz2.dir/all] Error 2
make[1]: *** [CMakeFiles/Makefile2:3689: CMakeFiles/po-fr-docs-kcontrol-kwintabbox-index-cache-bz2.dir/all] Error 2
make[2]: *** [CMakeFiles/po-de-docs-kcontrol-windowbehaviour-index-cache-bz2.dir/build.make:74: po/de/docs/kcontrol/windowbehaviour/index.cache.bz2] Error 127
make[1]: *** [CMakeFiles/Makefile2:3559: CMakeFiles/po-de-docs-kcontrol-windowbehaviour-index-cache-bz2.dir/all] Error 2
[  2%] Built target tsfiles-d4b799f65edbbdc18d2994103aea24c6
[  2%] Built target pofiles-d4b799f65edbbdc18d2994103aea24c6
make: *** [Makefile:136: all] Error 2
==> ERROR: A failure occurred in build().
    Aborting...
ptr1337 commented 2 years ago

@tildearrow

Got it solved, through with other makeflags. Sorry.

ptr1337 commented 2 years ago

@tildearrow

Got i now also solved also for -march=x86-64-v3 (so higher compile flags) since i provide in the repo also optimized version of packages. Maybe ill recreate the PKGBUILD which also declares already the correct CXXFLAGS.

Regards, and thank you.

tildearrow commented 2 years ago

That looked like an API break, as it always happens on Arch Linux with some libraries...

Oh! Never mind then.

tildearrow commented 2 years ago

Marking as done hoping that KWin-lowlatency 5.22/5.23 builds correctly.