_Ab_Ad
October 31, 2022, 12:21pm
1
ERROR in cling::CIFactory::createCI(): cannot extract standard library include paths!
Invoking:
LC_ALL=C x86_64-linux-gnu-g+±11 -xc++ -E -v /dev/null 2>&1 | sed -n -e ‘/^.include/,${’ -e ‘/^ /.*++/p’ -e ‘}’
Results was:
With exit code 0
Does it work when you do:
$ source where_root_is_installed/bin/thisroot.csh
Is $ROOTSYS defined afterwards ?
instead of source it might be " ." (dot)
$ . where_root_is_installed/bin/thisroot.csh
this is not working for me
You need to build ROOT from the source code (from scratch) yourself.
With the system’s upgrade came a new GCC (incompatible with the old one), too.
couet
October 31, 2022, 12:26pm
3
Welcome to the ROOT forum.
On which machine are you running?
With which ROOT version?
How have you installed ROOT?
Can you show which command gives you this error?
_Ab_Ad
October 31, 2022, 12:28pm
4
It was working properly before the upgrade, but after it started to show this error.
_Ab_Ad
October 31, 2022, 12:33pm
5
ubuntu 22.10
source code build
baba@baba:~$ root
ERROR in cling::CIFactory::createCI(): cannot extract standard library include paths!
Invoking:
LC_ALL=C x86_64-linux-gnu-g++-11 -xc++ -E -v /dev/null 2>&1 | sed -n -e '/^.include/,${' -e '/^ \/.*++/p' -e '}'
Results was:
With exit code 0
------------------------------------------------------------------
| Welcome to ROOT 6.27/01 https://root.cern |
| (c) 1995-2022, The ROOT Team; conception: R. Brun, F. Rademakers |
| Built for linuxx8664gcc on May 27 2022, 10:49:02 |
| From heads/master@v6-25-02-1338-g1679bc9525 |
| With c++ (Ubuntu 11.2.0-19ubuntu1) 11.2.0 |
| Try '.help'/'.?', '.demo', '.license', '.credits', '.quit'/'.q' |
------------------------------------------------------------------
root [0]
root 6.26
_Ab_Ad
October 31, 2022, 12:53pm
8
It is not working for me. the same error is coming.
should I reinstall it?
Hi @_Ab_Ad ,
please check Installing ROOT - ROOT for several ways to install ROOT on Ubuntu (e.g. as a conda package, a snap package, or downloading a pre-built binary for Ubuntu 22).
You probably have to uninstall your current version and install again a version that is appropriate for Ubuntu 22.
Cheers,
Enrico
1 Like
Will_Xu
December 5, 2022, 3:39am
11
I solved the issue by installing g++ -11.
1 Like