PDA

View Full Version : Cannot compile with GCC-4.0


Zingam
November 8th, 2005, 06:30 AM
The compiler cannot find the <iostream> header, and when I type <iostream.h> it reports that it is depricated but cannot link the compiled objects.

C can be compiled normally but not C++. I have installed everything via Synaptic, that is necessary.

How should I install GCC properly?

thumper
November 8th, 2005, 06:42 AM
sudo apt-get install build-essential

Zingam
November 9th, 2005, 12:51 AM
I have installed build-essentials already. It doesn't work yet.

toojays
November 9th, 2005, 02:43 AM
Try reinstalling libstdc++6-4.0-dev.