[英]The C and CXX compiler identification is unknown
I created a cocos2d project and when I want to execute the cmake command I got this problem我创建了一个 cocos2d 项目,当我想执行 cmake 命令时遇到了这个问题
-- Selecting Windows SDK version 10.0.19041.0 to target Windows 10.0.19044.
-- The C compiler identification is unknown
-- The CXX compiler identification is unknown
CMake Error at CMakeLists.txt:30 (project):
No CMAKE_C_COMPILER could be found.
CMake Error at CMakeLists.txt:30 (project):
No CMAKE_CXX_COMPILER could be found.
-- Configuring incomplete, errors occurred!
See also "D:/Game/MyGame/proj.win32/CMakeFiles/CMakeOutput.log".
See also "D:/Game/MyGame/proj.win32/CMakeFiles/CMakeError.log".
Look into the CMakeError.log, as indicated in the error message查看 CMakeError.log,如错误消息中所示
See also "D:/Game/MyGame/proj.win32/CMakeFiles/CMakeError.log".
Next, consult various duplicates of this question to see suggestions how to respond to what you find in the log接下来,查阅此问题的各种重复项,以查看如何回应您在日志中找到的内容的建议
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.