When I'm trying to compile a C++ program with gcc, it gives me following error:
gcc
gcc: error trying to exec 'cc1plus': execvp: No such file or directory error: command 'gcc' failed with exit status 1
You're missing g++ package on your machine. Install it via:
g++
sudo apt-get install g++
Reference.
Sign up using Google
Sign up using Facebook
Sign up using Stack Exchange
By posting your answer, you agree to the privacy policy and terms of service.
tagged
asked
1 year ago
viewed
2490 times
active
5 months ago
Get the weekly newsletter!
see an example newsletter
By subscribing, you agree to the privacy policy and terms of service.