View Full Version : g++ not working
May 7th, 2007, 01:10 AM
The other day I was on a search for a C++ compiler in Linux and read about g++ on these message boards.:) Then I tried it and got an error message saying that bash did not recognize the command.:confused: I then tried it in uppercase and lowercase still nothing.:(
Here is the just of what I typed in "g++ program.cpp"
May 7th, 2007, 01:58 AM
Install the package build-essential. It will install g++ in addition to other packages required for building code.
May 7th, 2007, 01:59 AM
sudo apt-get install build-essential
And you should have it.
May 8th, 2007, 10:41 PM
Is there any way I could download this with out using the package manager(i.e. use a windows machine).
May 8th, 2007, 11:39 PM
The build-essential package is on the CD. I think an install GUI now pops up if you put the CD into the drive.
May 13th, 2007, 11:55 PM
I put in the install cd and nothing happened.
May 22nd, 2007, 09:19 PM
I upgraded and the CD worked.
Powered by vBulletin® Version 4.2.2 Copyright © 2015 vBulletin Solutions, Inc. All rights reserved.