1

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?

2 Answers 2

10

Do you have the build suite installed?

sudo apt-get --reinstall install build-essential

and compile C++ code with g++ command, not gcc.

Sign up to request clarification or add additional context in comments.

Comments

3

Well, your gcc install is damaged, looks like.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.