error: C++ preprocessor "/lib/cpp" fails sanity check错误解决方法

前端之家收集整理的这篇文章主要介绍了error: C++ preprocessor "/lib/cpp" fails sanity check错误解决方法前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。

error: C++ preprocessor "/lib/cpp" fails sanity check 问题的解决

问题的根源是缺少必要的C++库。如果是CentOS系统,运行,如下命令解决

yum install glibc- yum install gcc-c++

 

Ubuntu系统中,运行命令:

apt-get install build- apt-get install g++

 

原文链接:https://www.f2er.com/linux/403228.html

猜你在找的Linux相关文章