My Ubuntu version is 6.10, it can compile C program with gcc, but when I try to compile C++ program, the following error shows:
gcc: error trying to exec 'cc1plus': execvp: No such file or directory
I don't know what's the matter, I hope someone give me some help!
Thank you!
Unable to compile C++ program on Ubuntu?
You need to have the g++-4.1 package installed.[1]
In future, you may find http://packages.ubuntu.com/ useful; just use the “packages that contain files named like this” option.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment