Reputation: 29507
I'm using Linux Ubuntu Intrepid Ibex and using as compiler the gcc, but when I try to compile a C++ project file, the compiler give me this error:
ubuntu@ubuntu-laptop:~/C++$ gcc ClientFile.cpp
gcc: error trying to exec 'cc1plus': execvp: No such file or directory
What is wrong?
Upvotes: 1
Views: 8074
Reputation: 422172
Do you have the build suite installed?
sudo apt-get --reinstall install build-essential
and compile C++ code with g++
command, not gcc
.
Upvotes: 10