I
I
Ivan Ivanov2014-12-02 13:25:29
linux
Ivan Ivanov, 2014-12-02 13:25:29

Can't execute cmake?

When trying to run the command:

cmake .. -DCMAKE_INSTALL_PREFIX=`kde4-config --prefix`

gives an error message:
CMake Error at CMakeLists.txt:6 (find_package):
Could not find a package configuration file provided by "ECM" (requested
version 0.0.8) 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.

The solutions that are found on the Internet are very meager and boil down to just chatter without a solution.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
O
Oleg Baturin, 2018-05-19
@batyrin

apt-get install extra-cmake-modules

R
RADDyomin, 2014-12-02
@RADDyomin

OK, I'll translate what he asks for you. It asks you for the ECMConfig.cmake file and the second one so that you indicate their location in CMAKE_PREFIX_PATH. I hope, then you yourself will guess to google these files or search with your hands?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question