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.
解决方法:
sudo apt-get update
sudo apt-get install -y build-essential
*博客内容为网友个人发布,仅代表博主个人观点,如有侵权请联系工作人员删除。
相关推荐
Cmake 链接外部库:如何在项目中使用外部库和头文件
Cmake链接外部库:如何在项目中使用外部库和头文件
Windows系统安装CMake教程
vscode+cmake搭建雅特力AT32L021开发环境
[学习笔记]CMAKEMAKEPROGRAMisnotset
CMake中的PRIVATE、PUBLIC与INTERFACE关键字
CMake中的CMAKEMAKEPROGRAM配置参数
AT32L021vscode+cmake工程源文件