ROOT Version: 5.34/21
Platform: remote machine; locally Linux Cinnamon
Compiler: 5.18.00 C interpreter
Hi,
I am not experienced with compilation. I hope for your help.
There are about a dozen of classes which are pre-compiled on their own, alike:
g++ ${flags} -c -o name.o name.cpp
Then they are all linked to generate dictionary:
rootcint -f dict_MYANALYSIS.cpp -c -p -I one.h two.h [...] MMC.h
and at this step the problem occurs.
**Error: Symbol shared_ptr is not defined in current scope MMC.h:153:**
**Error: Symbol TH1F is not defined in current scope MMC.h:153:**
Athough MMC.o compiles successfully on its own.
This error happens when I include MMC.h in MYANALYSIS.h. It compiles fine when MMC.h is included in MYANALYSIS.cpp. The reason why I am eager to define MMC.h in the MYANALYSIS.h is that it is required to declare MMC class instance in MYANALYSIS.h.
More error messages:
**Warning: Error occurred during reading source files**
**Warning: Error occurred during dictionary source generation**
**!!!Removing dict_HiggsAnalysis.cpp dict_HiggsAnalysis.h !!!**
**Error: rootcint: error loading headers...**
Thank you a lot.