Issues with root after the Developer Tools apdate

Hello there!
I just updated my Xcode Developer Tool in MacOs (apple silicon M1 pro) Ventura 13.5.2 as suggested by apple updates message and now when I run root I got this error at the beginning:

root
clang: error: argument to '-isysroot' is missing (expected 1 value)
clang: error: no input files
ERROR in cling::CIFactory::createCI(): cannot extract standard library include paths!
Invoking:
  LC_ALL=C /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -isysroot;/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.3.sdk   -xc++ -E -v /dev/null 2>&1 | sed -n -e '/^.include/,${' -e '/^ \/.*++/p' -e '}'
Results was:
clang: error: argument to '-isysroot' is missing (expected 1 value)
clang: error: no input files
With exit code 0

Does someone has an idea of why?
Xcode version: 15.0
xcode-select version 2397

Thanks,
Massi

You will need an updated version of the ROOT build (for example rebuild your version of ROOT).

Hello Massimiliano,

sometimes Apple updates cause small issues. In my case, I also had to run /usr/bin/cc and accept the xcode license. I hope this can help you as well.

Cheers,
Danilo

Hi Danilo!
Thanks for the answer, I already accepted it but I had the error anyhow.
Iā€™m trying now to compile again in a new build directory as suggested by pcanal.

Cheers,
Massi

Done!
It worked, the sdk was changed (again to the new one 14.0).
Thanks!
Cheers,
Massi

1 Like

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