catsout / wallpaper-engine-kde-plugin

A kde wallpaper plugin integrating wallpaper engine
https://store.kde.org/p/1475528/
GNU General Public License v2.0
1.68k stars 71 forks source link

idk proplem cmake opensuse #357

Open powl999 opened 7 months ago

powl999 commented 7 months ago

Describe the bug
idk Welcome to fish, the friendly interactive shell Type help for instructions on how to use fish paul@linux ~> # Download source git clone https://github.com/catsout/wallpaper-engine-kde-plugin.git cd wallpaper-engine-kde-plugin

          # Download submodule (glslang)
          git submodule update --init

          # Configure
          # 'USE_PLASMAPKG=ON': using plasmapkg2 tool to install plugin
          mkdir build && cd build
          cmake .. -DUSE_PLASMAPKG=ON

          # Build
          make -j$nproc

          # Install package (ignore if USE_PLASMAPKG=OFF for system-wide installation)
          make install_pkg
          # install lib
          sudo make install

fatal: destination path 'wallpaper-engine-kde-plugin' already exists and is not an empty directory. mkdir: cannot create directory ‘build’: File exists CMake Warning: Ignoring extra path from command line:

".."

CMake Error: The source directory "/home/paul" does not appear to contain CMakeLists.txt. Specify --help for usage, or press the help button on the CMake GUI. make: No targets specified and no makefile found. Stop. make: No rule to make target 'install_pkg'. Stop. [sudo] password for root: make: *** No rule to make target 'install'. Stop. paul@linux ~/wallpaper-engine-kde-plugin (main) [2]> # Download source git clone https://github.com/catsout/wallpaper-engine-kde-plugin.git cd wallpaper-engine-kde-plugin

                                                 # Download submodule (glslang)
                                                 git submodule update --init

                                                 # Configure
                                                 # 'USE_PLASMAPKG=ON': using plasmapkg2 tool to install plugin
                                                 mkdir build && cd build
                                                 cmake .. -DUSE_PLASMAPKG=ON

                                                 # Build
                                                 make -j$nproc

                                                 # Install package (ignore if USE_PLASMAPKG=OFF for system-wide installation)
                                                 make install_pkg
                                                 # install lib
                                                 sudo make install

Cloning into 'wallpaper-engine-kde-plugin'... remote: Enumerating objects: 7491, done. remote: Counting objects: 100% (1538/1538), done. remote: Compressing objects: 100% (492/492), done. remote: Total 7491 (delta 1026), reused 1402 (delta 995), pack-reused 5953 Receiving objects: 100% (7491/7491), 5.43 MiB | 1.57 MiB/s, done. Resolving deltas: 100% (4687/4687), done. Submodule 'src/backend_scene/third_party/glslang' (https://github.com/KhronosGroup/glslang.git) registered for path 'src/backend_scene/third_party/glslang' Cloning into '/home/paul/wallpaper-engine-kde-plugin/wallpaper-engine-kde-plugin/src/backend_scene/third_party/glslang'... Submodule path 'src/backend_scene/third_party/glslang': checked out 'c34bb3b6c55f6ab084124ad964be95a699700d34' -- The C compiler identification is GNU 13.2.1 -- The CXX compiler identification is GNU 13.2.1 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/cc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/bin/c++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Setting build type to 'RelWithDebInfo' as none was specified. CMake Error at CMakeLists.txt:28 (find_package): Could not find a package configuration file provided by "ECM" with any of the following names:

ECMConfig.cmake
ecm-config.cmake

Add the installation prefix of "ECM" to CMAKE_PREFIX_PATH or set "ECM_DIR" to a directory containing one of the above files. If "ECM" provides a separate development package or SDK, be sure it has been installed.

-- Configuring incomplete, errors occurred! make: No targets specified and no makefile found. Stop. make: No rule to make target 'install_pkg'. Stop. make: *** No rule to make target 'install'. Stop. paul@linux ~/w/w/build (main) [2]>

Workshop link
e.g. 1139304621

System Information

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

fxzjshm commented 6 months ago

Install dependencies mentioned in README. ECM = extra cmake modules