dwardor / plasma-applet-fanspeed-monitor

Plasma 5 Fan Speed Monitor Applet
GNU General Public License v2.0
8 stars 2 forks source link

I can't build the applet #1

Closed acutbal closed 4 years ago

acutbal commented 4 years ago

Hello, I get this error when I try to build it:

albert@INTorre build]$ cmake .. -DCMAKE_INSTALL_PREFIX=/usr
CMake Warning (dev) in CMakeLists.txt:
  No project() command is present.  The top-level CMakeLists.txt file must
  contain a literal, direct call to the project() command.  Add a line of
  code such as

    project(ProjectName)

  near the top of the file, but after cmake_minimum_required().

  CMake is pretending there is a "project(Project)" command on the first
  line.
This warning is for project developers.  Use -Wno-dev to suppress it.

-- The C compiler identification is GNU 9.2.0
-- The CXX compiler identification is GNU 9.2.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
CMake Error at CMakeLists.txt:6 (find_package):
  Could not find a package configuration file provided by "ECM" (requested
  version 0.0.11) 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!
See also "/home/albert/plasma-applet-fanspeed-monitor/build/CMakeFiles/CMakeOutput.log".

I also attach the CMakeOutput.log CMakeOutput.log

Best regads. :smile:

dwardor commented 4 years ago

I'm guessing you are missing the ECM extra-cmake-modules package... see https://api.kde.org/frameworks/extra-cmake-modules/html/index.html

on my Gentoo box it's kde-frameworks/extra-cmake-modules You need to install it for your distro would be my best guess

acutbal commented 4 years ago

Yup, it's working now, thank you very much!! :smile: :smile: Screenshot_20191220_103556