ROOT with mac os high sierra 10.13.3

I had ROOT installed on my macOS Sierra 10.12.6 using home brew. But then I bought a new Macbook with macOS high Sierra 10.13.3. I migrated all the information from the first mac to the second, including applications. When I tried to run ROOT I got the following error:

RROR in cling::CIFactory::createCI(): cannot extract standard library include paths!
LC_ALL=C cc -O2 -DNDEBUG -xc++ -E -v /dev/null 2>&1 >/dev/null | awk ‘/^#include </,/^End of search/{if (!/^#include </ && !/^End of search/){ print }}’ | GREP_OPTIONS= grep -E "(c|g)++"
Results was:
With exit code 256
input_line_1:1:10: fatal error: ‘new’ file not found
input_line_3:36:10: fatal error: ‘string’ file not found
input_line_7:1:10: fatal error: ‘iostream’ file not found

How do I deal with this?

Have you installed the new Xcode ?
And, when done, you need to issue the command:

xcode-select --install

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.