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.75k stars 74 forks source link

Unable to finish building with Ninja cmake FindPlasma.cmake not found #432

Open EyesWithoutFace opened 1 month ago

EyesWithoutFace commented 1 month ago

Describe the bug
A clear and concise description of what the bug is. cant get ninja build command to work I get missing findplasma.cmake error unable to finish building the plugin/program steps to reproduce: follow installation instructions and proceed with cmake -B build -s . -Gninja -Duse_plasmapkg=ON command result:

CMake Error at CMakeLists.txt:43 (find_package):
  By not providing "FindPlasma.cmake" in CMAKE_MODULE_PATH this project has
  asked CMake to find a package configuration file provided by "Plasma", but
  CMake did not find one.

  Could not find a package configuration file provided by "Plasma" with any
  of the following names:

    PlasmaConfig.cmake
    plasma-config.cmake

  Add the installation prefix of "Plasma" to CMAKE_PREFIX_PATH or set
  "Plasma_DIR" to a directory containing one of the above files.  If "Plasma"
  provides a separate development package or SDK, be sure it has been
  installed.

Don't really know what the next step is as I am new to linux so any help would be appreciated! Workshop link
e.g. 1139304621

System Information

Additional context
Add any other context about the problem here. [e.g. screenshots/logs] cant get ninja build command to work I get missing findplasma.cmake error image

ImaDoor2785 commented 1 month ago

me too ive been looking everywhere for a fix but i cant find one

Mariocraft95 commented 1 month ago

Goofed off with ChatGPT to figure this one out. This has been updated to use a newer version of Plasma, Plasma 6.

For future reference, here is what worked for me: sudo dnf install kf6-plasma-devel

Below is what ChatGPT has recommended for other distros on Plasma 6: sudo pacman -S plasma-framework sudo apt install plasma-framework-dev (though I do not think Plasma 6 is available here, so might just be a hallucination on the AI's part)

Maybe use an older version of this plugin like this one since you are on Plasma 5: https://github.com/catsout/wallpaper-engine-kde-plugin/tree/77fe42fd3de9ce275973b32c94a2b8ff218fc554

DISCLAIMER: I am not the developer of this plugin. This is just stuff I figured out.

Edit: Added the needed dependency to a PR that I just sent to the main dev on the Fedora section. Since I do not have easy access to other distros at the moment, I did not add anything else.

EyesWithoutFace commented 1 month ago

Goofed off with ChatGPT to figure this one out.

This has been updated to use a newer version of Plasma, Plasma 6.

For future reference, here is what worked for me:

sudo dnf install kf6-plasma-devel

Below is what ChatGPT has recommended for other distros on Plasma 6:

sudo pacman -S plasma-framework

sudo apt install plasma-framework-dev (though I do not think Plasma 6 is available here, so might just be a hallucination on the AI's part)

Maybe use an older version of this plugin like this one since you are on Plasma 5:

https://github.com/catsout/wallpaper-engine-kde-plugin/tree/77fe42fd3de9ce275973b32c94a2b8ff218fc554

DISCLAIMER:

I am not the developer of this plugin. This is just stuff I figured out.

Edit:

Added the needed dependency to a PR that I just sent to the main dev on the Fedora section. Since I do not have easy access to other distros at the moment, I did not add anything else.

To be honest I just switched back to arch gave up on Debian for a multitude of reasons should I leave this open?

Mariocraft95 commented 1 month ago

I would keep it open, as it seems to represent a legitimate issue to be addressed. I only sent a PR in to update the Fedora documentation. I did not update Debian's or Arch's.

s-b-repo commented 1 week ago

just install ninja had this issue 2