Hello, I have updated today the macos of my laptop to macOS Monterey (12.2.1) and then my root installed version stopped working and it was complaining that: /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk was missing. For whatever reason, I did figured out that I need the Xcode 12 for Monterey, so I downloaded root_v6.24.06 (from Release 62406 - ROOT)
curl -LO https://root.cern/download/root_v6.24.06.macos-11.5-x86_64-clang120.tar.gz
and install it. In parallel I did dowloaded also Xcode 12 and now MacOSX.sdk points to MacOSX12.0.sdk which does indeed exist.
However root still not running and the error message I’ve go now is given below.
My question is: is there a recipe to fix this problem?
Thanks for your help
Salva
— error message when using root_v6.24.06 —
martis@portsili47 ~ % root
input_line_1:1:2: error: module ‘Darwin’ uses additional module map ‘/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/netinet.modulemap’ used when the module was built
#include
^
input_line_1:1:2: note: imported by module ‘std’ in ‘/Users/martis/Utils/root_v6.24.06/lib/std.pcm’
Warning in cling::IncrementalParser::CheckABICompatibility():
Failed to extract C++ standard library version.
Warning in cling::IncrementalParser::CheckABICompatibility():
Possible C++ standard library mismatch, compiled with _LIBCPP_ABI_VERSION ‘1’
Extraction of runtime standard library version was: ‘’
input_line_2:1:2: fatal error: module file ‘/Users/martis/Utils/root_v6.24.06/lib/std.pcm’ is out of date and needs to be rebuilt
#include “cling/Interpreter/RuntimeUniverse.h”