Re: g++ can't build "Hello World" programm

2017-10-18 Thread tomas
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Thu, Oct 19, 2017 at 02:01:18AM +0600, Evgeny wrote: > Problems gone when i reinstalled libc6-dev, now hello world compiling fine, > but the problem is that after removing lib6c-dev a lot of other packages > was deleted and when I trying to install

Re: g++ can't build "Hello World" programm

2017-10-18 Thread Thomas Schmitt
Hi, Evgeny wrote: > any > "bits/locale.h" among indlude files that you listed have already existed in > my system. but g++ continue give me error message that there is no such file > or directory What do you get from g++ -o test -H test.cpp If i rename my local /usr/include/x86_64-linux-gnu

Re: g++ can't build "Hello World" programm

2017-10-18 Thread Evgeny
Problems gone when i reinstalled libc6-dev, now hello world compiling fine, but the problem is that after removing lib6c-dev a lot of other packages was deleted and when I trying to install them back I have error (Unable to correct problems, you have held broken packages) Anyway, thanks a lot, I f

Re: g++ can't build "Hello World" programm

2017-10-18 Thread tomas
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Thu, Oct 19, 2017 at 01:04:05AM +0600, Evgeny wrote: > Thanks all for answers, libc6-dev was installed. And more intresting, any > "bits/locale.h" among indlude files that you listed have already existed in > my system. but g++ continue give me erro

Re: g++ can't build "Hello World" programm

2017-10-18 Thread Greg Wooledge
On Thu, Oct 19, 2017 at 01:04:05AM +0600, Evgeny wrote: > Thanks all for answers, libc6-dev was installed. And more intresting, any > "bits/locale.h" among indlude files that you listed have already existed in > my system. but g++ continue give me error message that there is no such > file or direc

Re: g++ can't build "Hello World" programm

2017-10-18 Thread Evgeny
Thanks all for answers, libc6-dev was installed. And more intresting, any "bits/locale.h" among indlude files that you listed have already existed in my system. but g++ continue give me error message that there is no such file or directory even if I use -I/usr/include/x86_64-linux-gnu/ flag or add

Re: g++ can't build "Hello World" programm

2017-10-13 Thread Thomas Schmitt
Hi, i can compile the test program on my amd64 Debian 8. Google and https://stackoverflow.com/questions/5834778/how-to-tell-where-a-header-file-is-included-from caused me to run $ g++ -H test.cpp to see all included files. Maybe it helps you to find what's missing on your system or where

Re: g++ can't build "Hello World" programm

2017-10-13 Thread tomas
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Fri, Oct 13, 2017 at 09:17:32AM -0400, Greg Wooledge wrote: > On Fri, Oct 13, 2017 at 07:11:28PM +0600, Evgeny wrote: > > error: bits/locale.h: No such file or directory > > Make sure build-essential is installed. > > > #include > >

Re: g++ can't build "Hello World" programm

2017-10-13 Thread tomas
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Fri, Oct 13, 2017 at 07:11:28PM +0600, Evgeny wrote: > Dear all, i have some problems with , etc. libraries on > my debian. > > I have pretty simple code: > > #include > > using namespace std; > > int main(void) { > > cout <

Re: g++ can't build "Hello World" programm

2017-10-13 Thread Greg Wooledge
On Fri, Oct 13, 2017 at 07:11:28PM +0600, Evgeny wrote: > error: bits/locale.h: No such file or directory Make sure build-essential is installed. > #include > ^ > compilation terminated. Make sure the file uses Unix newline (line feed) terminators, and not Microsoft's

g++ can't build "Hello World" programm

2017-10-13 Thread Evgeny
Dear all, i have some problems with , etc. libraries on my debian. I have pretty simple code: #include using namespace std; int main(void) { cout << "Hello World!" << endl; return 0; } And when i try to compile it, compiler gives me error: evgeny@debian:~/Docu