_ROOT Version: root-6.20.00
_Platform: macOS Catilina 10.15.3
_Compiler: Apple clang version 11.0.0 (clang-122.214.171.124)
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.