I’m trying ROOT6 on my new Mac 10.11.4
I downloaded the gzipped tarball, unpacked it, and compiling a macro that ran just fine on my previous Mac.
Here’s what I get.
Any help would be appreciated.
root [0] .L eqn.C++
Info in TMacOSXSystem::ACLiC: creating shared library /Users/gerstein/tracklets/Apr2016/fpga_emulation/integer_math/./eqn_C.so
Warning in cling::IncrementalParser::CheckABICompatibility():
C++ ABI mismatch, compiled with _LIBCPP_VERSION v1101 running with v3700
In file included from input_line_3:1:
In file included from /Users/gerstein/root6/include/RtypesCore.h:24:
/Users/gerstein/root6/include/RConfig.h:256:13: fatal error: ‘AvailabilityMacros.h’ file not found
I did have Build version 7D175,
but was missing the command line tools, which your second suggestion installed.
Now things are compiling.
I still get the warning
Info in TMacOSXSystem::ACLiC: creating shared library /Users/gerstein/tracklets/Apr2016/fpga_emulation/integer_math/./eqn_C.so
Warning in cling::IncrementalParser::CheckABICompatibility():
C++ ABI mismatch, compiled with _LIBCPP_VERSION v1101 running with v3700
Type “.x demos.C” to get a toolbar from which to execute the demos
Type “.x demoshelp.C” to see the help window
==> Many tutorials use the file hsimple.root produced by hsimple.C
==> It is recommended to execute hsimple.C before any other script
root [0]
Processing hsimple.C++…
Info in TMacOSXSystem::ACLiC: creating shared library /Users/gerstein/root6/tutorials/./hsimple_C.so
Warning in cling::IncrementalParser::CheckABICompatibility():
C++ ABI mismatch, compiled with _LIBCPP_VERSION v1101 running with v3700
hsimple : Real Time = 0.07 seconds Cpu Time = 0.07 seconds
(TFile *) 0x7fbc2ab103f0
libc++ has bumped their version number, likely to use the clang version number.
6.06/02 or later needs to be rebuilt with the current XCode.
If only we had nightly binary snapshots - you could just download one for the 6-06 branch. But we don’t (I have been suggesting this since more than a year), so I’m afraid you will have to build ROOT yourself from source, or wait for the next 6.06 release that then hopefully uses the current Xcode / clang / libc++.