-----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-----