catsout / wallpaper-engine-kde-plugin

A kde wallpaper plugin integrating wallpaper engine

Home Page:https://store.kde.org/p/1475528/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CMake Error: CMake was unable to find a build program corresponding to "Ninja"

Luminous-Journey opened this issue · comments

Describe the bug

A clear and concise description of what the bug is.
Cannot install plugin due to cmake having a problem with the build

Workshop link

didnt get that far

System Information

  • Kde: 6
  • Qt: 6
  • OS: Arch
  • Installation Source: Manual build from from readme
  • Wallpaper Engine version: didnt get that far

Additional context

Add any other context about the problem here. [e.g. screenshots/logs]

git clone --branch=qt6 https://github.com/catsout/wallpaper-engine-kde-plugin.git
cd wallpaper-engine-kde-plugin

# Download submodule
git submodule update --init --force --recursive

# Configure, build and install
# 'USE_PLASMAPKG=ON': using kpackagetool tool to install plugin
cmake -B build -S . -GNinja -DUSE_PLASMAPKG=ON
cmake --build build
cmake --install build

# Install package (ignore if USE_PLASMAPKG=OFF for system-wide installation)
cmake --build build --target install_pkg
Cloning into 'wallpaper-engine-kde-plugin'...
remote: Enumerating objects: 7667, done.
remote: Counting objects: 100% (583/583), done.
remote: Compressing objects: 100% (122/122), done.
remote: Total 7667 (delta 492), reused 496 (delta 461), pack-reused 7084
Receiving objects: 100% (7667/7667), 5.34 MiB | 5.92 MiB/s, done.
Resolving deltas: 100% (4799/4799), done.
Submodule 'src/backend_scene' (https://github.com/catsout/wallpaper-scene-renderer.git) registered for path 'src/backend_scene'
Cloning into '/home/thomas/wallpaper-engine-kde-plugin/src/backend_scene'...
Submodule path 'src/backend_scene': checked out 'b729c79648af68035bc01abd184b78576519ecb6'
Submodule 'third_party/Eigen' (https://gitlab.com/libeigen/eigen.git) registered for path 'src/backend_scene/third_party/Eigen'
Submodule 'third_party/SPIRV-Reflect' (https://github.com/KhronosGroup/SPIRV-Reflect.git) registered for path 'src/backend_scene/third_party/SPIRV-Reflect'
Submodule 'third_party/glslang' (https://github.com/KhronosGroup/glslang.git) registered for path 'src/backend_scene/third_party/glslang'
Submodule 'third_party/miniaudio' (https://github.com/mackron/miniaudio.git) registered for path 'src/backend_scene/third_party/miniaudio'
Submodule 'third_party/nlohmann' (https://github.com/nlohmann/json.git) registered for path 'src/backend_scene/third_party/nlohmann'
Cloning into '/home/thomas/wallpaper-engine-kde-plugin/src/backend_scene/third_party/Eigen'...
Cloning into '/home/thomas/wallpaper-engine-kde-plugin/src/backend_scene/third_party/SPIRV-Reflect'...
Cloning into '/home/thomas/wallpaper-engine-kde-plugin/src/backend_scene/third_party/glslang'...
Cloning into '/home/thomas/wallpaper-engine-kde-plugin/src/backend_scene/third_party/miniaudio'...
Cloning into '/home/thomas/wallpaper-engine-kde-plugin/src/backend_scene/third_party/nlohmann'...
remote: Enumerating objects: 103040, done.
remote: Counting objects: 100% (103040/103040), done.
remote: Compressing objects: 100% (18047/18047), done.
remote: Total 101542 (delta 85478), reused 99140 (delta 83237), pack-reused 0
Receiving objects: 100% (101542/101542), 91.72 MiB | 8.71 MiB/s, done.
Resolving deltas: 100% (85478/85478), completed with 907 local objects.
From https://gitlab.com/libeigen/eigen
 * branch                3147391d946bb4b6c68edd901f2add6ac1f31f8c -> FETCH_HEAD
Submodule path 'src/backend_scene/third_party/Eigen': checked out '3147391d946bb4b6c68edd901f2add6ac1f31f8c'
Submodule path 'src/backend_scene/third_party/SPIRV-Reflect': checked out '8406f76dcf6cca11fe430058c4f0ed4b846f3be4'
Submodule 'third_party/googletest' (https://github.com/google/googletest) registered for path 'src/backend_scene/third_party/SPIRV-Reflect/third_party/googletest'
Cloning into '/home/thomas/wallpaper-engine-kde-plugin/src/backend_scene/third_party/SPIRV-Reflect/third_party/googletest'...
Submodule path 'src/backend_scene/third_party/SPIRV-Reflect/third_party/googletest': checked out 'e2239ee6043f73722e7aa812a459f54a28552929'
remote: Enumerating objects: 51236, done.
remote: Counting objects: 100% (51234/51234), done.
remote: Compressing objects: 100% (7625/7625), done.
remote: Total 49874 (delta 43103), reused 48734 (delta 41983), pack-reused 0
Receiving objects: 100% (49874/49874), 64.00 MiB | 8.53 MiB/s, done.
Resolving deltas: 100% (43103/43103), completed with 787 local objects.
From https://github.com/KhronosGroup/glslang
 * branch              ee2f5d09eaf8f4e8d0d598bd2172fce290d4ca60 -> FETCH_HEAD
Submodule path 'src/backend_scene/third_party/glslang': checked out 'ee2f5d09eaf8f4e8d0d598bd2172fce290d4ca60'
Submodule path 'src/backend_scene/third_party/miniaudio': checked out '4a5b74bef029b3592c54b6048650ee5f972c1a48'
remote: Enumerating objects: 34667, done.
remote: Counting objects: 100% (34667/34667), done.
remote: Compressing objects: 100% (9315/9315), done.
remote: Total 34214 (delta 21900), reused 33610 (delta 21317), pack-reused 0
Receiving objects: 100% (34214/34214), 170.57 MiB | 10.46 MiB/s, done.
Resolving deltas: 100% (21900/21900), completed with 337 local objects.
From https://github.com/nlohmann/json
 * branch              0457de21cffb298c22b629e538036bfeb96130b7 -> FETCH_HEAD
Submodule path 'src/backend_scene/third_party/nlohmann': checked out '0457de21cffb298c22b629e538036bfeb96130b7'
CMake Error: CMake was unable to find a build program corresponding to "Ninja".  CMAKE_MAKE_PROGRAM is not set.  You probably need to select a different build tool.
CMake Error: CMAKE_C_COMPILER not set, after EnableLanguage
CMake Error: CMAKE_CXX_COMPILER not set, after EnableLanguage
-- Configuring incomplete, errors occurred!
no such file or directory
CMake Error: Generator: execution of make failed. Make command was: 
CMake Error: Not a file: /home/thomas/wallpaper-engine-kde-plugin/build/cmake_install.cmake
CMake Error: Error processing file: /home/thomas/wallpaper-engine-kde-plugin/build/cmake_install.cmake
no such file or directory
CMake Error: Generator: execution of make failed. Make command was:  install_pkg

Fixed with sudo pacman -S ninja