catsout / wallpaper-engine-kde-plugin

A kde wallpaper plugin integrating wallpaper engine
https://store.kde.org/p/1475528/
GNU General Public License v2.0
1.78k stars 76 forks source link

Cannot complete "make -j$nproc" #296

Open CyberAnpu opened 1 year ago

CyberAnpu commented 1 year ago

Describe the bug
I installed the plugin from the store after trying to just install it straight from the commands here and got to the same point where I run the "make -j$nproc" command and it get's to 68% and then just bugs out with an error

System Information

Additional context
[ 68%] Building CXX object src/backend_scene/src/Vulkan/CMakeFiles/wpVulkan.dir/Vma.cpp.o In file included from /home/anubis/.local/share/wallpaper-engine-kde-plugin/src/backend_scene/src/Vulkan/Vma.cpp:2: /home/anubis/.local/share/wallpaper-engine-kde-plugin/src/backend_scene/third_party/vk_mem_alloc.h: In function ‘void VmaUint32ToStr(char, size_t, uint32_t)’: /home/anubis/.local/share/wallpaper-engine-kde-plugin/src/backend_scene/third_party/vk_mem_alloc.h:2723:9: error: ‘snprintf’ was not declared in this scope 2723 | snprintf(outStr, strLen, "%u", static_cast(num)); | ^~~~ /home/anubis/.local/share/wallpaper-engine-kde-plugin/src/backend_scene/third_party/vk_mem_alloc.h:2562:1: note: ‘snprintf’ is defined in header ‘’; did you forget to ‘#include ’? 2561 | #include +++ |+#include 2562 | #else /home/anubis/.local/share/wallpaper-engine-kde-plugin/src/backend_scene/third_party/vk_mem_alloc.h: In function ‘void VmaUint64ToStr(char, size_t, uint64_t)’: /home/anubis/.local/share/wallpaper-engine-kde-plugin/src/backend_scene/third_party/vk_mem_alloc.h:2727:9: error: ‘snprintf’ was not declared in this scope 2727 | snprintf(outStr, strLen, "%llu", static_cast(num)); | ^~~~ /home/anubis/.local/share/wallpaper-engine-kde-plugin/src/backend_scene/third_party/vk_mem_alloc.h:2727:9: note: ‘snprintf’ is defined in header ‘’; did you forget to ‘#include ’? /home/anubis/.local/share/wallpaper-engine-kde-plugin/src/backend_scene/third_party/vk_mem_alloc.h: In function ‘void VmaPtrToStr(char, size_t, const void)’: /home/anubis/.local/share/wallpaper-engine-kde-plugin/src/backend_scene/third_party/vk_mem_alloc.h:2731:9: error: ‘snprintf’ was not declared in this scope 2731 | snprintf(outStr, strLen, "%p", ptr); | ^~~~ /home/anubis/.local/share/wallpaper-engine-kde-plugin/src/backend_scene/third_party/vk_mem_alloc.h:2731:9: note: ‘snprintf’ is defined in header ‘’; did you forget to ‘#include ’? make[2]: [src/backend_scene/src/Vulkan/CMakeFiles/wpVulkan.dir/build.make:188: src/backend_scene/src/Vulkan/CMakeFiles/wpVulkan.dir/Vma.cpp.o] Error 1 make[1]: [CMakeFiles/Makefile2:2086: src/backend_scene/src/Vulkan/CMakeFiles/wpVulkan.dir/all] Error 2 make: *** [Makefile:136: all] Error 2

Pikaloid commented 1 year ago

Same here, endeavourOS as well...

Mariocraft95 commented 1 year ago

https://github.com/TheM1Stery/wallpaper-engine-kde-plugin

Clone this github instead. This is not made by me, all this does is makes the fix for the error you are getting.

If you would prefer to edit the source code yourself, check out the commit here: https://github.com/TheM1Stery/wallpaper-engine-kde-plugin/commit/fbda175be3b93458ec06c9a1db507b2855e4caa1

If you make that change, you should have it working. Its easier to just clone that github repo though.

Pikaloid commented 1 year ago

It did work! thx u so much! ^^

Mariocraft95 commented 1 year ago

I would leave this issue open because this should be merged into the main repo. Users are having this same error with this alternative repo consistently fixing it.

CyberAnpu commented 1 year ago

https://github.com/TheM1Stery/wallpaper-engine-kde-plugin

Clone this github instead. This is not made by me, all this does is makes the fix for the error you are getting.

If you would prefer to edit the source code yourself, check out the commit here: TheM1Stery@fbda175

If you make that change, you should have it working. Its easier to just clone that github repo though.

nope.. still not working, breaks at the exacts same spot with the same error messsage

Mariocraft95 commented 1 year ago

https://github.com/TheM1Stery/wallpaper-engine-kde-plugin Clone this github instead. This is not made by me, all this does is makes the fix for the error you are getting. If you would prefer to edit the source code yourself, check out the commit here: TheM1Stery@fbda175 If you make that change, you should have it working. Its easier to just clone that github repo though.

nope.. still not working, breaks at the exacts same spot with the same error messsage

Did you actually clone the repo, or did you just copy and paste the instructions from the repo I linked? The repo that I linked doesn’t update the instructions since it’s meant to be part of this repo. To get it to work:

Remove the files you currently have.

Replace the first line in the instructions to:

git clone https://github.com/TheM1Stery/wallpaper-engine-kde-plugin Then follow other instructions as posted.

CyberAnpu commented 1 year ago

https://github.com/TheM1Stery/wallpaper-engine-kde-plugin Clone this github instead. This is not made by me, all this does is makes the fix for the error you are getting. If you would prefer to edit the source code yourself, check out the commit here: TheM1Stery@fbda175 If you make that change, you should have it working. Its easier to just clone that github repo though.

nope.. still not working, breaks at the exacts same spot with the same error messsage

Did you actually clone the repo, or did you just copy and paste the instructions from the repo I linked? The repo that I linked doesn’t update the instructions since it’s meant to be part of this repo. To get it to work:

Remove the files you currently have.

Replace the first line in the instructions to:

git clone https://github.com/TheM1Stery/wallpaper-engine-kde-plugin Then follow other instructions as posted.

ok sorry, it was totally my mistake on that. finished the build and installed it. The only prob now is that scene doesn't work...

Mariocraft95 commented 1 year ago

https://github.com/TheM1Stery/wallpaper-engine-kde-plugin Clone this github instead. This is not made by me, all this does is makes the fix for the error you are getting. If you would prefer to edit the source code yourself, check out the commit here: TheM1Stery@fbda175 If you make that change, you should have it working. Its easier to just clone that github repo though.

nope.. still not working, breaks at the exacts same spot with the same error messsage

Did you actually clone the repo, or did you just copy and paste the instructions from the repo I linked? The repo that I linked doesn’t update the instructions since it’s meant to be part of this repo. To get it to work: Remove the files you currently have. Replace the first line in the instructions to: git clone https://github.com/TheM1Stery/wallpaper-engine-kde-plugin Then follow other instructions as posted.

ok sorry, it was totally my mistake on that. finished the build and installed it. The only prob now is that scene doesn't work...

Yep, had a feeling that would be an issue.

About scenes not working, that seems to have happened fairly recently. I am still trying to figure out that one myself. I actually opened an issue about it that’s still open. It’s the one right before yours.

It might have been a KDE Plasma update. This project doesn’t seem very actively maintained, so the update might have broken something. I’ll reply to you if I find something out.

Until then, here is a link to the issue I opened: https://github.com/catsout/wallpaper-engine-kde-plugin/issues/294

GamerGuy95953 commented 1 year ago

https://github.com/TheM1Stery/wallpaper-engine-kde-plugin

Clone this github instead. This is not made by me, all this does is makes the fix for the error you are getting.

If you would prefer to edit the source code yourself, check out the commit here: TheM1Stery@fbda175

If you make that change, you should have it working. Its easier to just clone that github repo though.

Thanks! worked first try after that.