Lotad created a new topic ' Kstars RPi cmake error: missing ECM?' in the forum. 2 years ago

I am trying to build Kstars/Ekos on a Raspberry Pi Zero W running Raspberry Pi OS Bullseye. I am for the most part using the AstroPi3 setup routines. I have successfully compiled/installed the INDI library and 3rd party drivers. However, when I go to do the same for Kstars, it throws the following error:

CMake Error at CMakeLists.txt:70 (find_package):
  Could not find a package configuration file provided by "ECM" (requested version 5.68.0) 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.
It seems I need extra-cmake-modules , but I have not been able to figure out the right way to point Kstars' cmake at ECM. Can anyone advise?

Read More...