cmake重新编译删除文件夹下的文件 rm CMakeCache.txt 重新编译即可 安装g++yum install gcc-c++转载于:https://www.cnblogs.com/hshy/p/8068381.html