While trying to link TestEm4, I get the following error messages: =============================================== ../libTestEm4.a(Em4RunAction.o): In function `Em4RunAction::bookHisto(void)': Em4RunAction.o(.text+0x3ed): undefined reference to `HBookFile::HBookFile(char const *, int)' =============================================== I have the include file HBookFile.h in the CLHEP/Hist directory. Do I have to do anything else? Please advise.
As reported in the release-notes for Geant4 2.0, the new CLHEP release 1.5 does not support anymore the "Hist" module by default. The installation of the "Hist" module on CLHEP has to be done manually (please ask to CLHEP support for more details - editor: Evgueni.Tcherniev@cern.ch). For a successful compilation of "extended/electromagnetic" examples, but excluding capability of histogramming, compile with "gmake G4NOHIST=1".