I can compile my code with the root version 5.26 and c++ 4.1.2 but not root version 5.32 and c++ V5.18.
The error message in the latest root software version always about TClass.h:
Error: Symbol map is not defined in current scope /usr/local/root-5.32.01/include/root/TClass.h:85:
Error: Symbol string,TObjArray is not defined in current scope /usr/local/root-5.32.01/include/root/TClass.h:85:
Error: G__getvariable: expression /usr/local/root-5.32.01/include/root/TClass.h:85:
Error: Symbol fConversionStreamerInfo is not defined in current scope /usr/local/root-5.32.01/include/root/TClass.h:85:
Error: Illegal pointer operation (tovalue) /usr/local/root-5.32.01/include/root/TClass.h:85:
Warning: Error occurred during reading source files
Warning: Error occurred during dictionary source generation
!!!Removing E14DataDict.C E14DataDict.h !!!
Error: rootcint: error loading headers…
Anyone knows how to fix it? Or some relative lib should be updated?
I have no problem with a similar release of gcc (4.1.2 20080704 (Red Hat 4.1.2-50)). I suspect that you current directory and/or include directory contains a file literally named ‘map’ which interferes/replaces the one from the compiler.
I have no problem with a similar release of gcc (4.1.2 20080704 (Red Hat 4.1.2-50)). I suspect that you current directory and/or include directory contains a file literally named ‘map’ which interferes/replaces the one from the compiler.