Какой файл .exe требуется CMAKE для параметров CMAKE_C_COMPILER и CMAKE_CXX_COMPILER при использовании MinGW?C++

Программы на C++. Форум разработчиков
Anonymous
Какой файл .exe требуется CMAKE для параметров CMAKE_C_COMPILER и CMAKE_CXX_COMPILER при использовании MinGW?

Сообщение Anonymous »

Я не могу найти, какие значения требуются для CMAKE_C_COMPILER и CMAKE_CXX_COMPILER.
Я использую CMake 3.31.3
Ошибка CMake-gui:
The C compiler identification is unknown
The CXX compiler identification is unknown
CMake Error at CMakeLists.txt:38 (project):
No CMAKE_C_COMPILER could be found.

Tell CMake where to find the compiler by setting either the environment
variable "CC" or the CMake cache entry CMAKE_C_COMPILER to the full path to
the compiler, or to the compiler name if it is in the PATH.

CMake Error at CMakeLists.txt:38 (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!


Подробнее здесь: https://stackoverflow.com/questions/793 ... compiler-p

Вернуться в «C++»