Open config/Makefile.macosx64 file in the root source folder with any text editor. add -stdlib=libstdc++ to the variables CXXFLAGS, CFLAGS, CINTCXXFLAGS, CINTCFLAGS, and LDFLAGS. If Fortran is compiled and environment variables for it are set, then you should copy LDFLAGS to F77LDFLAGS before you add -stdlib=libstdc++. That’s it! Finally, when you compile your code using ROOT library, -stdlib=llibstdc++ should be added as an argument to the compiler.
– Solved on 2013/10/31 in ROOT v5.34.11
– Added on 2013/10/22
- I’m not sure this happens only to me, but after I updated to Mavericks GM 2 (13A603), the ROOT is not compiled on it. So, I have to find out the way to resolving this.
- Open core/base/inc/RConfig.h
- Find AvailabilityMacros.h
- Add path /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/usr/include
in before the filename.
– Added on 2013/11/04
- Maybe the command below will solve the all problems.