我正在使用并使用gcc作为编译器,但是当我试图编译一个C++项目文件时,编译器给出了以下错误:
ubuntu@ubuntu-laptop:~/C++$ gcc ClientFile.cpp
gcc: error trying to exec 'cc1plus': execvp: No such file or directory怎么啦?
发布于 2009-07-17 00:07:16
您安装了构建套件吗?
sudo apt-get --reinstall install build-essential并使用C++命令编译g++代码,而不是使用gcc。
发布于 2009-07-17 00:06:29
嗯,你的gcc装置坏了,看起来。
https://stackoverflow.com/questions/1140909
复制相似问题