Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #188034

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

From <tomas@tuxteam.de>
Newsgroups linux.debian.user
Subject Re: g++ can't build "Hello World" programm
Date 2017-10-18 21:30 +0200
Message-ID <uC2cp-5ba-1@gated-at.bofh.it> (permalink)
References <uA82B-4hy-9@gated-at.bofh.it> <uA9rH-52w-7@gated-at.bofh.it> <uC1T4-55h-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


-----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 error message that there is no such
> file or directory
> 
> even if I use -I/usr/include/x86_64-linux-gnu/ flag or add directory in
> cmake include directories
> 
> What can it be?

Strange. I'd try to eliminate actors one by one. What happens if you bypass
cmake and call g++ directly?

Another approach is to call g++ under strace and see what files it tries
to open (caution: this will produce copious output: use the -o option
to let strace write to a file, and the -f option to follow the process
forks, I'd expect g++ to spawn quite a few subprocesses).

Or just re-install g++ and all the "interesting" libs: likely there's
something broken in your setup.

Are you sure you're calling the g++ you think you are calling?

Cheers
- -- tomás
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iEYEARECAAYFAlnnqYUACgkQBcgs9XrR2kaTsQCeJFZ7BLtE7yquaj7sxrIMGGWQ
mjUAn2bvDioeqkd4JcbG/VgGTLH6Gdu4
=O6jp
-----END PGP SIGNATURE-----

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

g++ can't build "Hello World" programm Evgeny <evgggd@gmail.com> - 2017-10-13 15:20 +0200
  Re: g++ can't build "Hello World" programm <tomas@tuxteam.de> - 2017-10-13 15:30 +0200
  Re: g++ can't build "Hello World" programm "Thomas Schmitt" <scdbackup@gmx.net> - 2017-10-13 16:50 +0200
    Re: g++ can't build "Hello World" programm Evgeny <evgggd@gmail.com> - 2017-10-18 21:10 +0200
      Re: g++ can't build "Hello World" programm Greg Wooledge <wooledg@eeg.ccf.org> - 2017-10-18 21:20 +0200
      Re: g++ can't build "Hello World" programm <tomas@tuxteam.de> - 2017-10-18 21:30 +0200
        Re: g++ can't build "Hello World" programm Evgeny <evgggd@gmail.com> - 2017-10-18 22:10 +0200
          Re: g++ can't build "Hello World" programm tomas@tuxteam.de - 2017-10-18 22:40 +0200
      Re: g++ can't build "Hello World" programm "Thomas Schmitt" <scdbackup@gmx.net> - 2017-10-18 22:10 +0200

csiph-web