Jerry Black replied to the topic 'Kstars 3.5.0 OSx' in the forum. 3 years ago

Most of this is beyond me, but I'd like to get to a QT environment on OS X. My current problem is in opening the CMakeLists.txt in QT.

I get.

Running /Users/jerry/Qt/Tools/CMake/CMake.app/Contents/bin/cmake -S /Volumes/Data_Raid/kstars_dev/src-forked/kstars -B /private/var/folders/2j/rl4qjhx13tj22xnht5hhzwrw0000gn/T/QtCreator-SSiACh/qtc-cmake-HSzmudjE -GNinja -DCMAKE_BUILD_TYPE:String=Debug -DQT_QMAKE_EXECUTABLE:STRING=/Users/jerry/Qt/5.15.2/clang_64/bin/qmake -DCMAKE_PREFIX_PATH:STRING=/Users/jerry/Qt/5.15.2/clang_64 -DCMAKE_C_COMPILER:STRING=/usr/bin/clang -DCMAKE_CXX_COMPILER:STRING=/usr/bin/clang++ in /private/var/folders/2j/rl4qjhx13tj22xnht5hhzwrw0000gn/T/QtCreator-SSiACh/qtc-cmake-HSzmudjE.
-- The CXX compiler identification is AppleClang 12.0.0.12000032
-- The C compiler identification is AppleClang 12.0.0.12000032
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/clang++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/clang - skipped
-- Detecting C compile features
-- Detecting C compile features - done
CMake Error at CMakeLists.txt:64 (find_package):
  Could not find a package configuration file provided by "ECM" (requested
  version 1.7.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.


-- Configuring incomplete, errors occurred!

I see a file at: /Volumes/Data_Raid/kstars_dev/ASTRO-ROOT/share/ECM/cmake/ECMConfig.cmake

but I'm not sure what the problem is at the moment.

Sorry Rob, if this is more work than it might benefit.

Cheers

Read More...