So interestingly, after running that apt installation successfully and rebooting, the cmake command makes a little more progress (like checking compile features and ABI info) before throwing the same error about ECM. Do I need to tell it where to look for the libecm-dev package?
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?