Fork me on GitHub

Opened 4 years ago

Closed 4 years ago

#1449 closed Bug (fixed)

Compilation error for Delphes 3.4.2 and ROOT 6.22

Reported by: Patrick Komiske Owned by:
Priority: minor Milestone:
Component: Delphes code Version: Delphes 3
Keywords: root, compile, TF1 Cc:

Description

Hi,

I just tried installing Delphes 3.4.2 on Ubuntu 19.10 (just after installing ROOT 6.22.00 from the precompiled binary) and I got compilation errors of the following type:

"validation/DelphesValidation.cpp:1196:109: error: invalid use of incomplete type ‘class TF1’"

I went to validation/DelphesValidation.cpp and added "#include "TF1.h" at the top and it compiled fine. Perhaps this has to do more with ROOT than Delphes, but I wanted to bring it to your attention.

Best,
Patrick

Change History (3)

comment:1 by Pavel Demin, 4 years ago

Thank you for reporting this problem. I've added TF1.h to DelphesValidation.cpp and disabled compilation of DelphesValidation in the Makefile.

comment:2 by Joel Jones-Perez, 4 years ago

Hi, wanted to let you know that this is still a problem on the version found on the webpage: http://cp3.irmp.ucl.ac.be/downloads/Delphes-3.4.2.tar.gz

This leads to problems when installing Delphes from MadGraph.

The github version worked fine.

Cheers!

comment:3 by Pavel Demin, 4 years ago

Resolution: fixed
Status: newclosed

The fix is in the new release (3.5.0).

Note: See TracTickets for help on using tickets.