Hi everyone,
Please help me install ROOT on mac.
I installed Xcode from apple developer website but did not get SDKs.
I used homebrew to install ROOT.
which root
opt/homebrew/bin/root
root
warning: no such sysroot directory: ‘/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk’
warning: using sysroot for ‘MacOSX’ but targeting ‘iPhone’
C system headers (glibc/Xcode/Windows SDK) must be installed.
error: entry with relative path at the root level is not discoverable
{ ‘name’: ‘’, ‘type’: ‘directory’,
^~
Error in modulemap.overlay!
*** Break *** segmentation violation
[/usr/lib/system/libsystem_platform.dylib] _sigtramp (no debug info)
[/opt/homebrew/Cellar/root/6.26.06_1/lib/root/libCling.so] llvm::vfs::OverlayFileSystem::pushOverlay(llvm::IntrusiveRefCntPtrllvm::vfs::FileSystem) (no debug info)
[/opt/homebrew/Cellar/root/6.26.06_1/lib/root/libCling.so] (anonymous namespace)::createCIImpl(std::__1::unique_ptr<llvm::MemoryBuffer, std::__1::default_deletellvm::MemoryBuffer >, cling::CompilerOptions const&, char const*, std::__1::unique_ptr<clang::ASTConsumer, std::__1::default_deleteclang::ASTConsumer >, std::__1::vector<std::__1::shared_ptrclang::ModuleFileExtension, std::__1::allocator<std::__1::shared_ptrclang::ModuleFileExtension > > const&, bool, bool) (no debug info)
[/opt/homebrew/Cellar/root/6.26.06_1/lib/root/libCling.so] cling::CIFactory::createCI(llvm::StringRef, cling::InvocationOptions const&, char const*, std::__1::unique_ptr<clang::ASTConsumer, std::__1::default_deleteclang::ASTConsumer >, std::__1::vector<std::__1::shared_ptrclang::ModuleFileExtension, std::__1::allocator<std::__1::shared_ptrclang::ModuleFileExtension > > const&) (no debug info)
[/opt/homebrew/Cellar/root/6.26.06_1/lib/root/libCling.so] cling::IncrementalParser::IncrementalParser(cling::Interpreter*, char const*, std::__1::vector<std::__1::shared_ptrclang::ModuleFileExtension, std::__1::allocator<std::__1::shared_ptrclang::ModuleFileExtension > > const&) (no debug info)
[/opt/homebrew/Cellar/root/6.26.06_1/lib/root/libCling.so] cling::Interpreter::Interpreter(int, char const* const*, char const*, std::__1::vector<std::__1::shared_ptrclang::ModuleFileExtension, std::__1::allocator<std::__1::shared_ptrclang::ModuleFileExtension > > const&, bool, cling::Interpreter const*) (no debug info)
[/opt/homebrew/Cellar/root/6.26.06_1/lib/root/libCling.so] TCling::TCling(char const*, char const*, char const* const*) (no debug info)
[/opt/homebrew/Cellar/root/6.26.06_1/lib/root/libCling.so] CreateInterpreter (no debug info)
[/opt/homebrew/Cellar/root/6.26.06_1/lib/root/libCore.so] TROOT::InitInterpreter() (no debug info)
[/opt/homebrew/Cellar/root/6.26.06_1/lib/root/libCore.so] ROOT::Internal::GetROOT2() (no debug info)
[/opt/homebrew/Cellar/root/6.26.06_1/lib/root/libCore.so] TApplication::TApplication(char const*, int*, char**, void*, int) (no debug info)
[/opt/homebrew/Cellar/root/6.26.06_1/lib/root/libRint.so] TRint::TRint(char const*, int*, char**, void*, int, bool, bool) (no debug info)
[/opt/homebrew/Cellar/root/6.26.06_1/bin/root.exe] main (no debug info)
[/usr/lib/dyld] start (no debug info)
^X^C%