Fork me on GitHub

Opened 10 years ago

Last modified 10 years ago

#431 new Bug

Problem installing Delphes

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

Description

When installing Delphes in the madgraph5 environment, I get the following error:

Compiling classes/DelphesTF2.cc

classes/DelphesTF2.cc:32:12: error: use of undeclared identifier 'kVariable'

action = kVariable;

I determined that kVariable is a member of the TFormula class of ROOT, so figured re-installing ROOT might help, but it did not.

I already asked in the MG5 forum, and was referred here.

Any ideas would be appreciated.

Change History (7)

comment:1 by Pavel Demin, 10 years ago

Could you, please provide more details about your system (OS version, ROOT version, how you installed ROOT)?

comment:2 by sarellis, 10 years ago

Thanks for getting back to me. The details are:

Mac OS 10.10.2
ROOT version 6.02
Installed from source

comment:3 by sarellis, 10 years ago

Any word on what the problem may be?

comment:4 by Pavel Demin, 10 years ago

I have problems building ROOT 6.02.05 on MacOSX. So, unfortunately, I can't reproduce this problem.

I can build Delphes 3.2.0 with ROOT 6.00.02 on MacOSX 10.10.1 without any problem.

Could you share the commands/patches that you used to build ROOT 6.02?

comment:5 by Pavel Demin, 10 years ago

Just for information, here is the error message that I get when building ROOT 6.02.05:

root-6.02.05-source/graf2d/graf/src/TTF.cxx:221:26: error:
      use of undeclared identifier 'FT_Done_Glyph'
      if (glyph->fImage) FT_Done_Glyph(glyph->fImage);

comment:6 by sarellis, 10 years ago

I did not get this error. When I built root I ensured I had installed python--dev beforehand, then before making, I invoked

./configure --enable-python
make

Not sure if that would make the difference.

I installed an earlier version of root, 5.34, and got Delphes installed just fine with that version.

comment:7 by Pavel Demin, 10 years ago

The following ROOT forum thread helped me to build ROOT 6.02.05:

https://root.cern.ch/phpBB3/viewtopic.php?f=3&t=19102

Here is the command that I used:

./configure macosx64 --enable-gdml --enable-minuit2 --enable-roofit --enable-table --enable-unuran --disable-cocoa --disable-fink --enable-builtin-freetype --enable-x11 --enable-cxx11

However, I could not reproduce your problem with kVariable. I can build Delphes 3.2.0 with ROOT 6.02.05 without any error message.

Note: See TracTickets for help on using tickets.