构建ROOT类时未实现<atomic>

时间:2016-10-14 10:01:43

标签: c++ macos c++11 makefile compiler-errors

我一直在尝试make一个名为RooUnfold的ROOT类,它在构建这些错误时可能会失败:

Use ROOT 6.06/08 for macosx64 from /usr/local/Cellar/root6/6.06.08
Making /Users/sudoankit/root/RooUnfold-master/libRooUnfold.rootmap
In file included from /Users/sudoankit/root/RooUnfold-master/tmp/macosx64/RooUnfoldMap_LinkDef.cxx:1:
In file included from /usr/local/Cellar/root6/6.06.08/include/root/TObject.h:31:
In file included from /usr/local/Cellar/root6/6.06.08/include/root/Rtypes.h:37:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/atomic:543:2: error:
      <atomic> is not implemented
#error <atomic> is not implemented
 ^
1 error generated.
make: *** [/Users/sudoankit/root/RooUnfold-master/libRooUnfold.rootmap] Error 1

如何使用<atomic>库构建它?

0 个答案:

没有答案