Fork me on GitHub

Opened 3 weeks ago

Last modified 2 weeks ago

#1449 new Bug

Compilation error for Delphes 3.4.2 and ROOT 6.22

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



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.


Change History (1)

comment:1 Changed 2 weeks ago by pavel

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

Note: See TracTickets for help on using tickets.