我是在Windows中构建的新手。我正在构建以下项目:https://github.com/arkottke/strata。
该页面建议使用MSYS2安装依赖项。我已经按照正确的指示安装了MSYS2并安装了所有内容,但是在尝试使用cmake进行构建时得到了以下提示:
$ cmake .. -DCMAKE_BUILD_TYPE=Release
-- The C compiler identification is unknown
-- The CXX compiler identification is unknown
CMake Error at CMakeLists.txt:31 (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:31 (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/isb17182/strata/build/CMakeFiles/CMakeOutput.log".
See also "/home/isb17182/strata/build/CMakeFiles/CMakeError.log".
我已经在其他建筑平台上看到了针对同一问题的答案,但是这些问题太复杂了,以至于我目前无法理解。如果有人可以提供有关如何解决此问题的简单说明,将不胜感激。
谢谢