Home | News | Documentation | Download

Compile ROOT 6.20.00 on Catilina 10.15

_ROOT Version: root-6.20.00
_Platform: macOS Catilina 10.15.3
_Compiler: Apple clang version 11.0.0 (clang-1100.0.33.17)


I’m tying to compile ROOT v6.20.00 on a Catilina 10.15.3 os.
According to this post

this version should have fixed the location in which cling looks for headers.

However, the result of issueing
~> cmake -DCMAKE_CXX_STANDARD=14 …/root-6.20.00


– Clang version: 5.0.0
– Cling version (from VERSION file): ROOT_0.7~dev
– Cling will look for C++ headers in ‘/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/…/include/c++/v1’ at runtime.
– And if not found, will invoke: '/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ ’ for them.

This turns out to an error when ROOT is compiled.

Could you please indicate me how can I correctly instruct cling to search for headers in the folder


that should be the correct one?

Thank you very much for your help.

Best regards,


Hi Valerio,

Welcome to the forum! Could you share the exact error message you get during the build?

Cheers, Axel

Dear Axel,
please find in attachment the resulting log files.
Thank you very much for your prompt interest!

If helpful, during the compilation the following env was set:


cmake.txt (13.9 KB) rootbuild.txt (763.2 KB)

I also imagine this could possibly be related of my local environment.
Is anyone else experiencing the same problem?
Thanks for the support!