![](https://img-blog.csdnimg.cn/20201014180756754.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Ubuntu
EASONLEELEE
这个作者很懒,什么都没留下…
展开
-
gcc: error trying to exec 'cc1plus': execvp: 没有该文件或目录
gcc: error trying to exec 'cc1plus': execvp: 没有该文件或目录 出错的时候要注意看信息提示,你的问题是没有 cc1pluc 表明你的系统缺少 g++ 包。 解决方案:$sudo apt-get install g++ (在ubuntu下)转载 2013-11-24 23:57:48 · 3756 阅读 · 0 评论 -
undefined reference to `std::cout'
Very easy! 你写的是c++的程序还是c程序。 c++ 要用g++ hello.cpp -ohello c程序可以用gcc hello.cpp -ohello转载 2013-11-24 23:59:18 · 1981 阅读 · 0 评论