Fork me on GitHub

Opened 9 years ago

Last modified 9 years ago

#727 new Bug

comilation issue for DelphesFormula.cc

Reported by: indra Owned by:
Priority: minor Milestone:
Component: Delphes code Version: Delphes 3
Keywords: Cc:

Description (last modified by Pavel Demin)

While compiling 3.2.0 version, I get

classes/DelphesFormula.cc: In member function ‘Int_t DelphesFormula::DefinedVariable(TString&, Int_t&)’:
classes/DelphesFormula.cc:79:12: error: ‘kVariable’ was not declared in this scope
   action = kVariable;
            ^
make: *** [tmp/classes/DelphesFormula.o] Error 1

How to get around it ?
Thanks.

Change History (2)

comment:1 by Pavel Demin, 9 years ago

Description: modified (diff)

comment:2 by Pavel Demin, 9 years ago

Hi,

Current Delphes versions (3.1.2, 3.2.0) are not compatible with the latest ROOT version (6.04). Some of the classes that are used is Delphes changed their interfaces in the latest ROOT version. The fixes for this problem are already in the Delphes code repository and will be available in the next Delphes version.

At the moment, the easiest solution is to use ROOT 5.

Alternatively, you can try to install the latest code from the Delphes code repository:

git clone https://github.com/delphes/delphes.git
cd delphes
make

Cheers,

Pavel

Note: See TracTickets for help on using tickets.