were are the c++ libraries?

John Vivirito gnomefreak at gmail.com
Fri May 12 12:57:26 UTC 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

> hi list,
> 
> i cant complie things using gcc because it sais
> 
> root at ubuntu:~/programming/c++# gcc 920402411_10.cpp -o 920402411_10
> 920402411_10.cpp:1:20: error: isotream: No such file or directory
> 920402411_10.cpp: In function 'int main()':
> 920402411_10.cpp:7: error: 'cout' was not declared in this scope
> 920402411_10.cpp:7: error: 'endl' was not declared in this scope
> root at ubuntu:~/programming/c++#
> 
> the file i want to compile is
> 
> #include <isotream>
> 
> using namespace std;
> 
> int main()
> {
>     cout << "hello world" << endl;
>     return 0;
> }
> 
> i looked in usr/include & there was no STL libraries
> how can i add the STL libraries or if they are on my pc were can i find them
> 
> thank you

try sudo apt-get install build-essential that should be all you need ;)
- --
GnomeFreak

https://wiki.ubuntu.com/Johnvivirito
https://launchpad.net/people/gnomefreak
http://freewebs.com/ubuntufreak
Linux User# 414246
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFEZIY2qig4QTwcPCoRAkCyAJ4qRbfV3U0EesrRtpr033fxt1qodwCfeQOz
cU2T09Y+V388bq0YxL9EQqc=
=0f2N
-----END PGP SIGNATURE-----




More information about the ubuntu-users mailing list