cmake编译报错Compiler: CMAKE_CXX_COMPILER-NOTFOUND

cmake编译报错Compiler: CMAKE_CXX_COMPILER-NOTFOUND
解决办法:
安装g++:
debian环境


sudo apt-get install g++