naraesk / krunner-translator

KRunner Translator (Plasma 5)
https://store.kde.org/p/1081236/
GNU General Public License v3.0
86 stars 14 forks source link

Cmake error #1

Closed vmorenomarin closed 7 years ago

vmorenomarin commented 7 years ago

When begin the compilation process appears this error:

Could not find a package configuration file provided by "ECM" (requested
  version 5.12.0) with any of the following names:

  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!

Running under:

image

Any suggestion? Thanks.

naraesk commented 7 years ago

Please try to install the package extra-cmake-modules and try again.

vmorenomarin commented 7 years ago

Thanks a lot. Works very well. Congratulations!!

Why not is official as a default feature in kRunner?

naraesk commented 7 years ago

Aktually it was for KDE 4 but wasn't migrated to KDE Frameworks due to the api shutdown of Google Translate. I thought, the current need for an api key might be a bit clumsy for a default plugin.