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

Unable to build on Plasma 6.1.0 #143

Open
chiyuki0325 opened this issue Jun 20, 2024 · 7 comments
Open

Unable to build on Plasma 6.1.0 #143

chiyuki0325 opened this issue Jun 20, 2024 · 7 comments

Comments

@chiyuki0325
Copy link

chiyuki0325 commented Jun 20, 2024

[  0%] Built target lshelper_autogen_timestamp_deps
[  2%] Automatic MOC for target lshelper
[  2%] Built target lshelper_autogen
[  4%] Generating lightlyshaders_config.h, lightlyshaders_config.cpp
[  6%] Building CXX object src/liblshelper/CMakeFiles/lshelper.dir/lshelper_autogen/mocs_compilation.cpp.o
[  8%] Building CXX object src/liblshelper/CMakeFiles/lshelper.dir/lshelper.cpp.o
[ 10%] Building CXX object src/liblshelper/CMakeFiles/lshelper.dir/lightlyshaders_config.cpp.o
[ 12%] Linking CXX shared library liblshelper.so
[ 14%] Built target lshelper
[ 14%] Built target kwin_effect_lightlyshaders_autogen_timestamp_deps
[ 16%] Automatic MOC for target kwin_effect_lightlyshaders
AutoMoc warning
---------------
"SRC:/src/lightlyshaders/lightlyshaders.cpp"
includes the moc file "lightlyshaders.moc", but does not contain a Q_OBJECT, Q_GADGET, Q_NAMESPACE, Q_NAMESPACE_EXPORT, Q_GADGET_EXPORT, Q_ENUM_NS, K_PLUGIN_FACTORY, K_PLUGIN_CLASS, K_PLUGIN_FACTORY_WITH_JSON or K_PLUGIN_CLASS_WITH_JSON macro.

[ 16%] Built target kwin_effect_lightlyshaders_autogen
[ 18%] Generating lightlyshaders_config.h, lightlyshaders_config.cpp
[ 20%] Automatic RCC for lightlyshaders.qrc
[ 22%] Building CXX object src/lightlyshaders/CMakeFiles/kwin_effect_lightlyshaders.dir/kwin_effect_lightlyshaders_autogen/mocs_compilation.cpp.o
[ 25%] Building CXX object src/lightlyshaders/CMakeFiles/kwin_effect_lightlyshaders.dir/lightlyshaders.cpp.o
/home/chiyuki/LightlyShaders/src/lightlyshaders/lightlyshaders.cpp: In static member function ‘static bool KWin::LightlyShadersEffect::supported()’:
/home/chiyuki/LightlyShaders/src/lightlyshaders/lightlyshaders.cpp:357:61: error: ‘supported’ is not a member of ‘KWin::GLFramebuffer’
  357 |     return effects->isOpenGLCompositing() && GLFramebuffer::supported();
      |                                                             ^~~~~~~~~
make[2]: *** [src/lightlyshaders/CMakeFiles/kwin_effect_lightlyshaders.dir/build.make:114: src/lightlyshaders/CMakeFiles/kwin_effect_lightlyshaders.dir/lightlyshaders.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:789: src/lightlyshaders/CMakeFiles/kwin_effect_lightlyshaders.dir/all] Error 2
make: *** [Makefile:146: all] Error 2
@chiyuki0325 chiyuki0325 changed the title Unable to build on Plasma 6 Unable to build on Plasma 6.1.0 Jun 20, 2024
@scgm0
Copy link

scgm0 commented Jun 20, 2024

#140

@ramon501
Copy link

same here

@Cherkah
Copy link

Cherkah commented Jun 21, 2024

same as others

@emmyvinte
Copy link

☝️😶

@FezzedOne
Copy link

Same here.

@MOldtime
Copy link

MOldtime commented Jul 2, 2024

Because the upstream blur has been updated, if you know a little cpp, you can just copy the content and replace it. You can know what has been changed by comparing it.
https://invent.kde.org/plasma/kwin/-/tree/Plasma/6.1/src/plugins/blur?ref_type=heads

It should be noted that you should download the branch of your current version to build, because it was updated again 5 days ago. In short, the version needs to correspond. I hope there is a better way.

In addition, this is my latest build, built using kde 6.1.1 version
Please rename the suffix zip to zst and install it using makepkg
lightlyshaders-plasma6-git-2.0.0.r29.gb159684-1-x86_64.pkg.tar.zip

@ChrTall
Copy link

ChrTall commented Jul 3, 2024

@a-parhom
can you merge the pull request?

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

8 participants