Hi,
I am trying to compile a simple C++ file using a hand written Makefile, but I receive
In file included from /afs/cern.ch/sw/lcg/app/releases/ROOT/6.03.04/x86_64-slc6-gcc49-opt/root/include/TObject.h:31:
/afs/cern.ch/sw/lcg/app/releases/ROOT/6.03.04/x86_64-slc6-gcc49-opt/root/include/Rtypes.h:37:10: fatal error: ‘atomic’ file not found
#include
I am running on lxplux SLC6 and using
/afs/cern.ch/sw/lcg/external/llvm/3.6/x86_64-slc6-gcc49-opt/
/afs/cern.ch/sw/lcg/app/releases/ROOT/6.03.04/x86_64-slc6-gcc49-opt/root/
Can it be that you try to use a LCG ROOT binaries compiled by “gcc++ 4.9” together with the “clang++” compiler (of unknown origin)?
Are you sure that these two compilers are “binary compatible”?
Well, the fact that you can run both compilers on your system does NOT yet mean that the object files and libraries that they produce are “binary compatible” (i.e. that you can “mix” files produced by different compilers).
I understand your point, but if it is like that then it is a weakness in the design, when I use a library I would like to keep my right in choosing the compiler