I am getting this error when trying to include root header to the Geant4 application. The Geant4 application works well otherwise. I did make sure that cmake is able to find the ROOTSYS. Also, when the root header is not included before Geant4 headers I get warnings of a conflict between the declaration of s in TString.h and CLHEP::SystemOfUnits.h . I have also tried checking with other versions of Root and Geant4.
Can you please tell me how the indicated error meant libCore was not linked? I mean is there any reference from where I can understand which libraries are not linked from the error message?