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 finish building with Ninja cmake FindPlasma.cmake not found #432

Open
EyesWithoutFace opened this issue Sep 14, 2024 · 5 comments

Comments

@EyesWithoutFace
Copy link

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

  • Kde: 5.27
  • Qt: 5.15
  • OS: Debian
  • Installation Source: git
  • Wallpaper Engine version: current

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
Copy link

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

@Mariocraft95
Copy link
Contributor

Mariocraft95 commented Sep 16, 2024

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
Copy link
Author

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
Copy link
Contributor

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
Copy link

s-b-repo commented Oct 6, 2024

just install ninja had this issue 2

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

4 participants