Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

failed to emerge x11-wm/dde-kwin-5.2.0.13 #129

Open
guyuming76 opened this issue Mar 27, 2021 · 3 comments
Open

failed to emerge x11-wm/dde-kwin-5.2.0.13 #129

guyuming76 opened this issue Mar 27, 2021 · 3 comments

Comments

@guyuming76
Copy link

prePaintScreen, prePaintWindow marked override, but does not override

@AmberisMyShiba
Copy link

AmberisMyShiba commented Apr 3, 2021

I encountered the same issue .my erroe is following

FAILED: plugins/kwineffects/blur/CMakeFiles/blur.dir/blur_autogen/mocs_compilation.o
/usr/bin/x86_64-pc-linux-gnu-g++ -DKCOREADDONS_LIB -DKWIN_VERSION_BUI=0 -DKWIN_VERSION_MAJ=5 -DKWIN_VERSION_MIN=21 -DKWIN_VERSION_PAT=3 -DQT_CORE_LIB -DQT_GUI_LIB -DQT_NO_DEBUG -DQT_WIDGETS_LIB -Dblur_EXPORTS -Iplugins/kwineffects/blur -I/var/tmp/portage/x11-wm/dde-kwin-5.2.0.13/work/dde-kwin-5.2.0.13/plugins/kwineffects/blur -Iplugins/kwineffects/blur/blur_autogen/include -I/var/tmp/portage/x11-wm/dde-kwin-5.2.0.13/work/dde-kwin-5.2.0.13/plugins/kwineffects/blur/../../platforms/lib -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtCore -isystem /usr/lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtGui -isystem /usr/include/KF5/KCoreAddons -isystem /usr/include/KF5 -isystem /usr/include/KF5/KWindowSystem -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/KF5/KConfigCore -DNDEBUG -march=skylake -O2 -pipe -fPIC -DPROJECT_NAME="dde-kwin" -DPROJECT_VERSION="5.2.0.13" -DKWIN_VERSION_STR="5.21.3" -fPIC -MD -MT plugins/kwineffects/blur/CMakeFiles/blur.dir/blur_autogen/mocs_compilation.o -MF plugins/kwineffects/blur/CMakeFiles/blur.dir/blur_autogen/mocs_compilation.o.d -o plugins/kwineffects/blur/CMakeFiles/blur.dir/blur_autogen/mocs_compilation.o -c plugins/kwineffects/blur/blur_autogen/mocs_compilation.cpp
In file included from plugins/kwineffects/blur/blur_autogen/EWIEGA46WW/moc_blur.cpp:10,
from plugins/kwineffects/blur/blur_autogen/mocs_compilation.cpp:2:
plugins/kwineffects/blur/blur_autogen/EWIEGA46WW/../../../../../../dde-kwin-5.2.0.13/plugins/kwineffects/blur/blur.h:66:10: error: ‘void BlurEffect::prePaintScreen(KWin::ScreenPrePaintData&, int)’ marked ‘override’, but does not override
66 | void prePaintScreen(ScreenPrePaintData &data, int time) override;
| ^~~~~~~~~~~~~~
plugins/kwineffects/blur/blur_autogen/EWIEGA46WW/../../../../../../dde-kwin-5.2.0.13/plugins/kwineffects/blur/blur.h:67:10: error: ‘void BlurEffect::prePaintWindow(KWin::EffectWindow*, KWin::WindowPrePaintData&, int)’ marked ‘override’, but does not override
67 | void prePaintWindow(EffectWindow* w, WindowPrePaintData& data, int time) override;
| ^~~~~~~~~~~~~~
ninja: build stopped: subcommand failed.

@linuxbuh
Copy link

Needed
emerge -av kde-frameworks/extra-cmake-modules
Ebuild
emerge x11-wm/dde-kwin-5.2.0.13
Ok
Возможно нужно пересобрать cmake
USE="qt5" emerge -av dev-util/cmake

@AmberisMyShiba
Copy link

AmberisMyShiba commented Apr 16, 2021

Needed
emerge -av kde-frameworks/extra-cmake-modules
Ebuild
emerge x11-wm/dde-kwin-5.2.0.13
Ok
Возможно нужно пересобрать cmake
USE="qt5" emerge -av dev-util/cmake

thanks to reply.but still same issue encountered

equery u cmake                                                                             130 ↵
[ Legend : U - final flag setting for installation]
[        : I - package is installed with flag     ]
[ Colors : set, unset                             ]
 * Found these USE flags for dev-util/cmake-3.18.5:
 U I
 - - doc     : Add extra documentation (API, Javadoc, etc). It is recommended to enable per package instead
               of globally
 - - emacs   : Add support for GNU Emacs
 + + ncurses : Add ncurses support (console display library)
 + + qt5     : Add support for the Qt 5 application and UI framework
 - - test    : Enable dependencies and/or preparations necessary to run tests (usually controlled by
               FEATURES=test but can be toggled independently)
equery l extra-cmake-modules
 * Searching for extra-cmake-modules ...
[IP-] [  ] kde-frameworks/extra-cmake-modules-5.81.0:5/5.81


Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants