Cmake报错

Mac机子下Cmake报错:mac No CMAKE_C_COMPILER could be found.

解决方案:

终端输入 sudo xcode-select --switch /Applications/Xcode.app/

清空build目录文件(第二行)

关掉Cmake,打开Cmake

选择Xcode

重新configure,configure,generate

谢天谢地

 

posted @ 2020-01-29 16:35  溪边老圃  阅读(911)  评论(0)    收藏  举报