Мне нужен самый свежий CMake, установленный на моем OpenSuse, чтобы использовать приложение. Я пытаюсь скачать его с официального сайта и следую инструкциям: https://cmake.org/install/ Однако я получаю следующие ошибки:
aleksandr@linux-b0ak:~/Downloads/cmake-3.17.0-rc1> cmake .
-- The CXX compiler identification is unknown
CMake Error at CMakeLists.txt:7 (project):
No CMAKE_CXX_COMPILER could be found.
Tell CMake where to find the compiler by setting either the environment
variable "CXX" or the CMake cache entry CMAKE_CXX_COMPILER to the full path
to the compiler, or to the compiler name if it is in the PATH.
-- Configuring incomplete, errors occurred!
See also "/home/aleksandr/Downloads/cmake-3.17.0-rc1/CMakeFiles/CMakeOutput.log".
See also "/home/aleksandr/Downloads/cmake-3.17.0-rc1/CMakeFiles/CMakeError.log".
aleksandr@linux-b0ak:~/Downloads/cmake-3.17.0-rc1> ./bootstrap
---------------------------------------------
CMake 3.17.0-rc1, Copyright 2000-2020 Kitware, Inc. and Contributors
C compiler on this system is: cc
---------------------------------------------
Error when bootstrapping CMake:
Cannot find a C++ compiler that supports both C++11 and the specified C++ flags.
Please specify one using environment variable CXX.
The C++ flags are "".
They can be changed using the environment variable CXXFLAGS.
See cmake_bootstrap.log for compilers attempted.
---------------------------------------------
Log of errors: /home/aleksandr/Downloads/cmake-3.17.0-rc1/Bootstrap.cmk/cmake_bootstrap.log