alex47 / KDE-Rounded-Corners

Rounds the corners of your windows
GNU General Public License v3.0
167 stars 15 forks source link

Error with cmake #3

Closed aposuit closed 5 years ago

aposuit commented 5 years ago

I copied the commands indicated in readme, with the following error. I do not understand how to solve it.

cd KDE-Rounded-Corners; mkdir qt5build; cd qt5build; cmake ../ -DCMAKE_INSTALL_PREFIX=/usr -DQT5BUILD=ON && make && sudo make install && (kwin_x11 --replace &)
-- The C compiler identification is GNU 8.2.1
-- The CXX compiler identification is GNU 8.2.1
-- 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:10 (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!

Thanks for the help.

Petross404 commented 5 years ago

What is your distribution and does it distributeextra-cmake-modules?

aposuit commented 5 years ago

Thanks. I use Manjaro. With "pacman -S extra-cmake-modules" the problem was resolved.

alex47 commented 5 years ago

Thanks for bringing this up. I added dependencies list for debian based distros to the readme.

Petross404 commented 5 years ago

Thanks. I use Manjaro. With "pacman -S extra-cmake-modules" the problem was resolved.

I am happy to help but for your convenience, this was the 3rd result on google ;)

ghost commented 5 years ago

I can confirm, although this is closed, that installing the extra cmake modules works. Building from scratch now works 100%.