Trouble installing ExRootAnalysis and Delphes

Asked by Santosh on 2013-02-07

Hi,

When I try to install ExRootAnalysis using "make" I get this error message:

>> Compiling src/ExRootProgressBar.cc
src/ExRootProgressBar.cc: In member function ‘void ExRootProgressBar::Update(Long64_t)’:
src/ExRootProgressBar.cc:45: error: conversion from ‘TTime’ to ‘ULong64_t’ is ambiguous
/usr/include/root/TTime.h:78: note: candidates are: TTime::operator long unsigned int() const
/usr/include/root/TTime.h:76: note: TTime::operator long int() const
make: *** [tmp/src/ExRootProgressBar.o] Error 1

and for Delphes installation I am getting

>> Compiling Examples/LHCO_Only.cpp
Examples/LHCO_Only.cpp: In function ‘int main(int, char**)’:
Examples/LHCO_Only.cpp:72: error: ‘exit’ was not declared in this scope
make: *** [tmp/Examples/LHCO_Only.o] Error 1

I have "root" installed and all path environments are set properly too. So what is the reason for getting these error messages ?
I would appreciate if you could help me out on this. Thank you.

Regards,
Santosh

Question information

Language:
English Edit question
Status:
Solved
For:
MadGraph5_aMC@NLO Edit question
Assignee:
No assignee Edit question
Solved by:
Santosh
Solved:
2013-02-12
Last query:
2013-02-12
Last reply:
2013-02-07
Pavel Demin (pavel-demin) said : #1

Could you, please, specify the versions of OS, ROOT, Delphes and ExRootAnalysis?

Santosh (skrai22) said : #2

Hi Pavel,

My OS is Linux running Ubuntu 10.04LTS on 64bit.
ROOT version is 5.18/00b
Delphes Ver: 2.0.0
ExRootAnalysis Ver: 1.0.10

Regards,
Santosh

Pavel Demin (pavel-demin) said : #3

Hi Santosh,

Thanks for the information.

TTime class in ROOT changed its interface a couple of years ago.

Could you install a more up-to-date ROOT version?

Regards,

Pavel

Pavel Demin (pavel-demin) said : #5

Could you try to add the following line to Examples/LHCO_Only.cpp:

#include <stdlib.h>

Santosh (skrai22) said : #6

Hi Pavel,

I did what you asked me to do earlier. I uninstalled my earlier root version and installed the latest one 5.34/04. Now the ExRootAnalysis and Delphes, both have compiled with "make" without any error. Thank you for your help.

Regards,
Santosh