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

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

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

1 yum install glibc-headers
2  
3 yum install gcc-c++ 

Ubuntu系统中,运行命令:

1 apt-get install build-essential 
2  
3 apt-get install g++

猜你喜欢

转载自www.cnblogs.com/tdalcn/p/9301078.html