crash in compilation [message #12877] |
Wed, 04 January 2012 15:07 |
Gianluigi Boca
Messages: 177 Registered: March 2004
|
first-grade participant |
From: *pv.infn.it
|
|
the following error message appears in compilation with yesterday's trunk version of the pandaroot code, please the relevant expert fix it :
[ 20%] Building CXX object pgenerators/EvtGen/CMakeFiles/EvtGen.dir/EvtGen.cc.o
In file included from /u/gboca/panda/installazionelenny4jan12/pandaroot/pgenerators/EvtGen/Evt Gen.cc:27:
/u/gboca/panda/installazionelenny4jan12/pandaroot/pgenerators/EvtGen/Evt Gen.hh:33:40: error: CLHEP/Vector/LorentzVector.h: No such file or d
irectory
In file included from /u/gboca/panda/installazionelenny4jan12/pandaroot/pgenerators/EvtGen/Evt Gen.cc:27:
/u/gboca/panda/installazionelenny4jan12/pandaroot/pgenerators/EvtGen/Evt Gen.hh:34: error: 'CLHEP' has not been declared
/u/gboca/panda/installazionelenny4jan12/pandaroot/pgenerators/EvtGen/Evt Gen.hh:64: error: 'HepLorentzVector' has not been declared
/u/gboca/panda/installazionelenny4jan12/pandaroot/pgenerators/EvtGen/Evt Gen.hh:64: error: 'HepLorentzVector' has not been declared
/u/gboca/panda/installazionelenny4jan12/pandaroot/pgenerators/EvtGen/Evt Gen.hh:66: error: 'HepLorentzVector' has not been declared
/u/gboca/panda/installazionelenny4jan12/pandaroot/pgenerators/EvtGen/Evt Gen.cc:218: error: 'HepLorentzVector' has not been declared
/u/gboca/panda/installazionelenny4jan12/pandaroot/pgenerators/EvtGen/Evt Gen.cc:218: error: 'HepLorentzVector' has not been declared
/u/gboca/panda/installazionelenny4jan12/pandaroot/pgenerators/EvtGen/Evt Gen.cc: In member function 'void EvtGen::generateEvent(int, int, int
)':
/u/gboca/panda/installazionelenny4jan12/pandaroot/pgenerators/EvtGen/Evt Gen.cc:226: error: request for member 't' in 'P', which is of non-class type 'int'
/u/gboca/panda/installazionelenny4jan12/pandaroot/pgenerators/EvtGen/Evt Gen.cc:226: error: request for member 'x' in 'P', which is of non-class type 'int'
/u/gboca/panda/installazionelenny4jan12/pandaroot/pgenerators/EvtGen/Evt Gen.cc:226: error: request for member 'y' in 'P', which is of non-class type 'int'
/u/gboca/panda/installazionelenny4jan12/pandaroot/pgenerators/EvtGen/Evt Gen.cc:226: error: request for member 'z' in 'P', which is of non-class type 'int'
/u/gboca/panda/installazionelenny4jan12/pandaroot/pgenerators/EvtGen/Evt Gen.cc: At global scope:
/u/gboca/panda/installazionelenny4jan12/pandaroot/pgenerators/EvtGen/Evt Gen.cc:240: error: 'HepLorentzVector' has not been declared
/u/gboca/panda/installazionelenny4jan12/pandaroot/pgenerators/EvtGen/Evt Gen.cc: In member function 'void EvtGen::generateEvent(EvtParticle*, int)':
/u/gboca/panda/installazionelenny4jan12/pandaroot/pgenerators/EvtGen/Evt Gen.cc:302: error: request for member 'x' in 'D', which is of non-class type 'int'
/u/gboca/panda/installazionelenny4jan12/pandaroot/pgenerators/EvtGen/Evt Gen.cc:303: error: request for member 'y' in 'D', which is of non-class type 'int'
/u/gboca/panda/installazionelenny4jan12/pandaroot/pgenerators/EvtGen/Evt Gen.cc:304: error: request for member 'z' in 'D', which is of non-class type 'int'
/u/gboca/panda/installazionelenny4jan12/pandaroot/pgenerators/EvtGen/Evt Gen.cc:305: error: request for member 't' in 'D', which is of non-class type 'int'
make[2]: *** [pgenerators/EvtGen/CMakeFiles/EvtGen.dir/EvtGen.cc.o] Error 1
make[1]: *** [pgenerators/EvtGen/CMakeFiles/EvtGen.dir/all] Error 2
make: *** [all] Error 2
|
|
|
Re: crash in compilation [message #12878 is a reply to message #12877] |
Wed, 04 January 2012 20:39 |
Mohammad Al-Turany
Messages: 518 Registered: April 2004 Location: GSI, Germany
|
first-grade participant |
From: *dip.t-dialin.net
|
|
Hi,
The clhep-config macro used in FindCLHEP.Cmake module is delivering the wrong path for the include and library! This was caused by moving the externals on Lenny64 from may11 to may11/fairsoft. In any case I corrected the script now.
Sorry for that!
Mohammad
|
|
|