Alban-Boissard / kwin-effects-blur-respect-rounded-decorations

A fork of the kwin blur effect that solve the corners bug.
GNU General Public License v2.0
113 stars 5 forks source link

Not building on plasma 5.25 (not sure on reason as of yet) #17

Open TazerXI opened 2 years ago

TazerXI commented 2 years ago

Whenever trying to build it on Plasma 5.25, it never builds. It is different from #14 as it stops at 10% rather than at 94%. I am not someone who really understand the error messages,so am not to sure as to what is causing the issue at the moment. In the error logs, I have changed my name to "--------"

Cmake loutput log

(Seemingly relevant) Output from terminal: -- Configuring done -- Generating done -- Build files have been written to: /home/--------/aur/kwin-effects-blur-respect-rounded-decorations/build [ 5%] Automatic MOC for target kwin4_effect_blur2 AutoMoc warning

"SRC:/src/plugin.cpp" includes the moc file "plugin.moc", but does not contain a Q_OBJECT, Q_GADGET, Q_NAMESPACE, Q_NAMESPACE_EXPORT, K_PLUGIN_FACTORY, K_PLUGIN_CLASS, K_PLUGIN_FACTORY_WITH_JSON or K_PLUGIN_CLASS_WITH_JSON macro.

[ 5%] Built target kwin4_effect_blur2_autogen [ 10%] Generating blurconfig.h, blurconfig.cpp [ 15%] Building CXX object src/CMakeFiles/kwin4_effect_blur2.dir/kwin4_effect_blur2_autogen/mocs_compilation.cpp.o In file included from /home/--------/aur/kwin-effects-blur-respect-rounded-decorations/build/src/kwin4_effect_blur2_autogen/EWIEGA46WW/moc_blur.cpp:10, from /home/--------/aur/kwin-effects-blur-respect-rounded-decorations/build/src/kwin4_effect_blur2_autogen/mocs_compilation.cpp:2: /home/--------/aur/kwin-effects-blur-respect-rounded-decorations/build/src/kwin4_effect_blur2_autogen/EWIEGA46WW/../../../../src/blur.h:87:14: error: ‘GLRenderTarget’ was not declared in this scope 87 | QVector <GLRenderTarget> m_renderTargets; | ^~~~~~ /home/--------/aur/kwin-effects-blur-respect-rounded-decorations/build/src/kwin4_effect_blur2_autogen/EWIEGA46WW/../../../../src/blur.h:87:29: error: template argument 1 is invalid 87 | QVector <GLRenderTarget> m_renderTargets; | ^ /home/--------/aur/kwin-effects-blur-respect-rounded-decorations/build/src/kwin4_effect_blur2_autogen/EWIEGA46WW/../../../../src/blur.h:89:13: error: ‘GLRenderTarget’ was not declared in this scope; did you mean ‘m_renderTargets’? 89 | QStack <GLRenderTarget> m_renderTargetStack; | ^~~~~~ | m_renderTargets /home/--------/aur/kwin-effects-blur-respect-rounded-decorations/build/src/kwin4_effect_blur2_autogen/EWIEGA46WW/../../../../src/blur.h:89:28: error: template argument 1 is invalid 89 | QStack <GLRenderTarget> m_renderTargetStack; | ^ /home/--------/aur/kwin-effects-blur-respect-rounded-decorations/build/src/kwin4_effect_blur2_autogen/EWIEGA46WW/../../../../src/blur.h:43:10: error: ‘void KWin::BlurEffect::paintEffectFrame(KWin::EffectFrame, const QRegion&, double, double)’ marked ‘override’, but does not override 43 | void paintEffectFrame(EffectFrame frame, const QRegion &region, double opacity, double frameOpacity) override; | ^~~~ make[2]: [src/CMakeFiles/kwin4_effect_blur2.dir/build.make:85: src/CMakeFiles/kwin4_effect_blur2.dir/kwin4_effect_blur2_autogen/mocs_compilation.cpp.o] Error 1 make[1]: [CMakeFiles/Makefile2:387: src/CMakeFiles/kwin4_effect_blur2.dir/all] Error 2 make: *** [Makefile:146: all] Error 2 [ 5%] Automatic MOC for target kwin4_effect_blur2 AutoMoc warning

"SRC:/src/plugin.cpp" includes the moc file "plugin.moc", but does not contain a Q_OBJECT, Q_GADGET, Q_NAMESPACE, Q_NAMESPACE_EXPORT, K_PLUGIN_FACTORY, K_PLUGIN_CLASS, K_PLUGIN_FACTORY_WITH_JSON or K_PLUGIN_CLASS_WITH_JSON macro.

[ 5%] Built target kwin4_effect_blur2_autogen Consolidate compiler generated dependencies of target kwin4_effect_blur2 [ 10%] Building CXX object src/CMakeFiles/kwin4_effect_blur2.dir/kwin4_effect_blur2_autogen/mocs_compilation.cpp.o In file included from /home/--------/aur/kwin-effects-blur-respect-rounded-decorations/build/src/kwin4_effect_blur2_autogen/EWIEGA46WW/moc_blur.cpp:10, from /home/--------/aur/kwin-effects-blur-respect-rounded-decorations/build/src/kwin4_effect_blur2_autogen/mocs_compilation.cpp:2: /home/--------/aur/kwin-effects-blur-respect-rounded-decorations/build/src/kwin4_effect_blur2_autogen/EWIEGA46WW/../../../../src/blur.h:87:14: error: ‘GLRenderTarget’ was not declared in this scope 87 | QVector <GLRenderTarget> m_renderTargets; | ^~~~~~ /home/--------/aur/kwin-effects-blur-respect-rounded-decorations/build/src/kwin4_effect_blur2_autogen/EWIEGA46WW/../../../../src/blur.h:87:29: error: template argument 1 is invalid 87 | QVector <GLRenderTarget> m_renderTargets; | ^ /home/--------/aur/kwin-effects-blur-respect-rounded-decorations/build/src/kwin4_effect_blur2_autogen/EWIEGA46WW/../../../../src/blur.h:89:13: error: ‘GLRenderTarget’ was not declared in this scope; did you mean ‘m_renderTargets’? 89 | QStack <GLRenderTarget> m_renderTargetStack; | ^~~~~~ | m_renderTargets /home/--------/aur/kwin-effects-blur-respect-rounded-decorations/build/src/kwin4_effect_blur2_autogen/EWIEGA46WW/../../../../src/blur.h:89:28: error: template argument 1 is invalid 89 | QStack <GLRenderTarget> m_renderTargetStack; | ^ /home/--------/aur/kwin-effects-blur-respect-rounded-decorations/build/src/kwin4_effect_blur2_autogen/EWIEGA46WW/../../../../src/blur.h:43:10: error: ‘void KWin::BlurEffect::paintEffectFrame(KWin::EffectFrame, const QRegion&, double, double)’ marked ‘override’, but does not override 43 | void paintEffectFrame(EffectFrame frame, const QRegion &region, double opacity, double frameOpacity) override; | ^~~~ make[2]: [src/CMakeFiles/kwin4_effect_blur2.dir/build.make:85: src/CMakeFiles/kwin4_effect_blur2.dir/kwin4_effect_blur2_autogen/mocs_compilation.cpp.o] Error 1 make[1]: [CMakeFiles/Makefile2:387: src/CMakeFiles/kwin4_effect_blur2.dir/all] Error 2 make: *** [Makefile:146: all] Error 2

Larvitar commented 2 years ago

https://invent.kde.org/plasma/kwin/-/commit/992753c24a3efbeb306d1130f5278ca3394caede