g ++:尝试exec'cc1plus'时出错:execvp:没有这样的文件或目录 [英] g++: error trying to exec 'cc1plus': execvp: No such file or directory

查看:274
本文介绍了g ++:尝试exec'cc1plus'时出错:execvp:没有这样的文件或目录的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用Ubuntu 12.04
我正在尝试制作一个项目。
我得到这个错误:

  g ++:尝试exec'cc1plus'时出错:execvp:没有这样的文件或目录

我已经安装了g ++。

解决方案

我尝试了@MonoThreaded给出的命令,但失败了。我在下面尝试,它的工作原理。



sudo apt-get install g ++



请请勿在 g ++ 后包含任何版本。

I am using ubuntu 12.04 I'm trying to "make" a project. I get this error :

g++: error trying to exec 'cc1plus': execvp: No such file or directory

I have g++ installed.

解决方案

I tried the command @MonoThreaded gave but it failed. I tried below and it works.

sudo apt-get install g++

Please don't include any version after the g++.

这篇关于g ++:尝试exec'cc1plus'时出错:execvp:没有这样的文件或目录的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆