wallpaper-engine-kde-plugin icon indicating copy to clipboard operation
wallpaper-engine-kde-plugin copied to clipboard

Error when running CMake line

Open fogsaturate opened this issue 2 years ago • 4 comments

When I run the CMake command, it gives me an error

System Information

  • KDE: 5.25.3
  • Qt: 5.15.5
  • OS: Arch Linux (running on the xanmod kernel)
  • Installation Source: git

Here is the output that I got from running the CMake command:

CMake Warning at /usr/share/cmake/Modules/CMakeFindDependencyMacro.cmake:47 (find_package):
Could not find a configuration file for package "KF5Package" that is
compatible with requested version "5.96.0".

The following configuration files were considered but not accepted:

/usr/lib64/cmake/KF5Package/KF5PackageConfig.cmake, version: 5.95.0       
/usr/lib/cmake/KF5Package/KF5PackageConfig.cmake, version: 5.95.0         
/lib64/cmake/KF5Package/KF5PackageConfig.cmake, version: 5.95.0           
/lib/cmake/KF5Package/KF5PackageConfig.cmake, version: 5.95.0             
                                                                          

Call Stack (most recent call first):
/usr/lib64/cmake/KF5Plasma/KF5PlasmaConfig.cmake:53 (find_dependency)
/usr/share/ECM/find-modules/FindKF5.cmake:52 (find_package)
CMakeLists.txt:31 (find_package)

CMake Warning at /usr/share/ECM/find-modules/FindKF5.cmake:52 (find_package): Found package configuration file:

/usr/lib64/cmake/KF5Plasma/KF5PlasmaConfig.cmake                          
                                                                          

but it set KF5Plasma_FOUND to FALSE so package "KF5Plasma" is considered to be NOT FOUND. Reason given by package:

KF5Plasma could not be found because dependency KF5Package could not be
found.

Call Stack (most recent call first):
CMakeLists.txt:31 (find_package)

-- Could NOT find KF5Plasma (found version "5.96.0"), checked the following files: /usr/lib64/cmake/KF5Plasma/KF5PlasmaConfig.cmake (version 5.96.0) Reason given by package: KF5Plasma could not be found because dependency KF5Package could not be found.

CMake Error at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:230 (message):
Could NOT find KF5 (missing: Plasma) (found suitable version "5.95.0",
minimum required is "5.68.0")
Call Stack (most recent call first):
/usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:594 (_FPHSA_FAILURE_MESSAGE)
/usr/share/ECM/find-modules/FindKF5.cmake:93 (find_package_handle_standard_args)
CMakeLists.txt:31 (find_package)

-- Configuring incomplete, errors occurred! See also "/home/fog/wallpaper-engine-kde-plugin/build/CMakeFiles/CMakeOutput.log".

fogsaturate avatar Jul 23 '22 04:07 fogsaturate

i even installed the dependencies, but no luck

fogsaturate avatar Jul 23 '22 04:07 fogsaturate

Having this issue as well

LarveyOfficial avatar Feb 11 '24 05:02 LarveyOfficial

having the same issue

Kach29 avatar Mar 03 '24 18:03 Kach29

same issue, mine with KF5Plasma version 5.115.0

......
-- Could NOT find KF5Plasma (missing: KF5Plasma_DIR)
-- Could NOT find KF5Plasma: found neither KF5PlasmaConfig.cmake nor kf5plasma-config.cmake 
CMake Error at /usr/share/cmake-3.28/Modules/FindPackageHandleStandardArgs.cmake:230 (message):
  Could NOT find KF5 (missing: Plasma) (found suitable version "5.115.0",
  minimum required is "5.68.0")
Call Stack (most recent call first):
  /usr/share/cmake-3.28/Modules/FindPackageHandleStandardArgs.cmake:600 (_FPHSA_FAILURE_MESSAGE)
  /usr/share/ECM/find-modules/FindKF5.cmake:93 (find_package_handle_standard_args)
  CMakeLists.txt:31 (find_package)


-- Configuring incomplete, errors occurred!

StaticReasons avatar Mar 18 '24 14:03 StaticReasons