I had a problem in which an operator==
was not defined in a KDE file. Maybe you could try with a different compiler version. Please look at here to read more about it: Error building kio
Another thing is that after I solved my problem with the version of the compiler, I got another error related to kImageAnnotator
. This is the error message in the log:
-- The following REQUIRED packages have not been found:
* kImageAnnotator-Qt6, The kImageAnnotator library provides tools to annotate, <https://github.com/ksnip/kImageAnnotator>
CMake Error at /usr/share/cmake-3.30/Modules/FeatureSummary.cmake:464 (message):
feature_summary() Error: REQUIRED package(s) are missing, aborting CMake
run.
Call Stack (most recent call first):
CMakeLists.txt:251 (feature_summary)
What I did to solve it was to install it in my system. I’m using a Debian-based OS, so:
sudo apt install libkimageannotator-qt6-dev
As a side note, I just look at my ~/kde/usr/lib
directory and I cannot find the libkImageAnnotator
library. Since I install it through the package manager it’s installed in /usr/lib/x86_64-linux-gnu/libkImageAnnotator.so.0.7.1
. Another thing is that my version is more recent.