This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Error compiling KWin (KCMUtilsCore)

Tags: None
(comma "," separated)
Niklas Stephanblome
Registered Member
Posts
8
Karma
0

Error compiling KWin (KCMUtilsCore)

Tue May 03, 2022 6:28 pm
When I try compiling building KWin with CMAKE, after having all the dependencies installed by kdesrc-build, I get the following error (I have already installed KCMUtils):
What is the issue here and how can I resolve this?
I'm on Arch Linux with the newest stable version of KDE Plasma.

CMake Error at src/kcmkwin/kwinscripts/CMakeLists.txt:11 (target_link_libraries):
Target "kcm_kwin_scripts" links to:

KF5::KCMUtilsCore

but the target was not found. Possible reasons include:

* There is a typo in the target name.
* A find_package call is missing for an IMPORTED target.
* An ALIAS target is missing.
User avatar
Mamarok
Manager
Posts
6071
Karma
16
OS
How about filing a bug report? The forum is the wrong place for this


Running Kubuntu 22.10 with Plasma 5.26.3, Frameworks 5.100.0, Qt 5.15.6, kernel 5.19.0-23 on Ryzen 5 4600H, AMD Renoir, X11
FWIW: it's always useful to state the exact Plasma version (+ distribution) when asking questions, makes it easier to help ...
koffeinfriedhof
Registered Member
Posts
608
Karma
4
OS
Hi!

As mentioned in the other thread, you have to build all dependencies before building KWin. You are missing the library for kf5kcm. Depending on your distribution the package may be called kcm-utils or libkf5kcmutils.


Bookmarks



Who is online

Registered users: bartoloni, Bing [Bot], Google [Bot], Yahoo [Bot]