Fork me on GitHub

Opened 8 years ago

Last modified 8 years ago

#1020 new Bug

Error while building Delphes

Reported by: KASINATH DAS Owned by:
Priority: major Milestone:
Component: Delphes code Version: Delphes 3
Keywords: Cc:

Description (last modified by Pavel Demin)

I am trying to build the Delphes version 3.3.3. I have root version 5.34.
After giving the command make it gives me the following output with an error .

Can you please tell me why this problem is occuring ?

make: Warning: File `Makefile' has modification time 7.2e+02 s in the future
>> Compiling classes/DelphesHepMCReader.cc
classes/DelphesHepMCReader.cc:41:26: error: TDatabasePDG.h: No such file or directory
classes/DelphesHepMCReader.cc:42:26: error: TParticlePDG.h: No such file or directory
classes/DelphesHepMCReader.cc: In constructor ‘DelphesHepMCReader::DelphesHepMCReader()’:
classes/DelphesHepMCReader.cc:64: error: incomplete type ‘TDatabasePDG’ used in nested name specifier
classes/DelphesHepMCReader.cc: In member function ‘void DelphesHepMCReader::AnalyzeParticle(DelphesFactory*, TObjArray*, TObjArray*, TObjArray*)’:
classes/DelphesHepMCReader.cc:341: error: ‘TParticlePDG’ was not declared in this scope
classes/DelphesHepMCReader.cc:341: error: ‘pdgParticle’ was not declared in this scope
classes/DelphesHepMCReader.cc:351: error: invalid use of incomplete type ‘struct TDatabasePDG’
./classes/DelphesHepMCReader.h:37: error: forward declaration of ‘struct TDatabasePDG’
make: *** [tmp/classes/DelphesHepMCReader.o] Error 1

Change History (2)

comment:1 by Pavel Demin, 8 years ago

Description: modified (diff)

comment:2 by Pavel Demin, 8 years ago

The following error message indicates that something is wrong with your ROOT installation:

error: TDatabasePDG.h: No such file or directory
error: TParticlePDG.h: No such file or directory

These are header files provided by ROOT.

Normally, Delphes is known to work with the binary packages downloaded from ​https://root.cern.ch/downloading-root.

Note: See TracTickets for help on using tickets.