码迷,mamicode.com
首页 > 编程语言 > 详细

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

时间:2018-07-12 19:55:31      阅读:242      评论:0      收藏:0      [点我收藏+]

标签:ubunt   glibc   nbsp   RoCE   header   head   erro   系统   错误解决   

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++

 

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

标签:ubunt   glibc   nbsp   RoCE   header   head   erro   系统   错误解决   

原文地址:https://www.cnblogs.com/tdalcn/p/9301078.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!