Fork me on GitHub

Opened 8 years ago

Closed 8 years ago

#995 closed How to (fixed)

Event display error

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

Description

Hi,

I am using root version 5.34/34 and Delphes 3.3.2. I run into the following error while running "make display" for the event display.

Generating tmp/display/DisplayDict.cc

Error: cannot open file "TEveCaloData.h" display/DelphesCaloData.h:23:
Error: class,struct,union or type TEveCaloDataVec not defined display/DelphesCaloData.h:25:
Error: cannot open file "TEveElement.h" display/DelphesBranchElement.h:30:
Error: cannot open file "TEveTrack.h" display/DelphesBranchElement.h:31:
Error: class,struct,union or type TLorentzVector not defined prec_stl/memory:37:
Error: class,struct,union or type TLorentzVector not defined prec_stl/memory:38:
Error: class,struct,union or type TLorentzVector not defined prec_stl/memory:43:
Error: class,struct,union or type TLorentzVector not defined prec_stl/memory:44:
Error: class,struct,union or type TLorentzVector not defined prec_stl/memory:45:
Error: class,struct,union or type TLorentzVector not defined prec_stl/vector:51:
Error: Function TLorentzVector() is not defined in current scope prec_stl/vector:497:
Error: Function TLorentzVector() is not defined in current scope prec_stl/vector:497:
Error: Syntax error prec_stl/vector:578:
Error: void type variable can not be declared prec_stl/vector:578:
Error: cannot open file "TEveWindow.h" display/DelphesPlotSummary.h:28:
Syntax error display/DelphesPlotSummary.h:37:
Error: Symbol TEveWindowTab is not defined in current scope display/DelphesPlotSummary.h:46:
Error: Symbol tab_ is not defined in current scope display/DelphesPlotSummary.h:46:
Error: class,struct,union or type TMarker not defined prec_stl/memory:37:
Error: class,struct,union or type TMarker not defined prec_stl/memory:38:
Error: class,struct,union or type TMarker not defined prec_stl/memory:43:
Error: class,struct,union or type TMarker not defined prec_stl/memory:44:
Error: class,struct,union or type TMarker not defined prec_stl/memory:45:
Error: class,struct,union or type TMarker not defined prec_stl/vector:51:
Error: class,struct,union or type TMarker not defined prec_stl/vector:497:
Error: Symbol TMarker is not defined in current scope prec_stl/vector:505:
Error: Symbol const is not defined in current scope prec_stl/vector:505:
Error: Symbol x is not defined in current scope prec_stl/vector:505:
Error: void type variable can not be declared prec_stl/vector:505:
Error: Syntax error prec_stl/vector:578:
Error: void type variable can not be declared prec_stl/vector:578:
Error: Symbol TEveElementList is not defined in current scope display/DelphesBranchElement.h:86:
Error: Symbol data_ is not defined in current scope display/DelphesBranchElement.h:86:
Error: Symbol TEveTrackList is not defined in current scope display/DelphesBranchElement.h:86:
Error: Symbol data_ is not defined in current scope display/DelphesBranchElement.h:86:
Warning: Error occurred during reading source files
Warning: Error occurred during dictionary source generation
!!!Removing tmp/display/DisplayDict.cc tmp/display/DisplayDict.h !!!
Error: rootcint: error loading headers...
make: * [tmp/display/DisplayDict.cc] Error 1

Please let me know how I can resolve this error.

Thanks & Regards,

Juhi

Change History (5)

comment:1 by Pavel Demin, 8 years ago

The following error messages show that your ROOT installation doesn't have the required EVE files:

cannot open file "TEveCaloData.h"
cannot open file "TEveElement.h"
cannot open file "TEveTrack.h"

comment:2 by J Dutta, 8 years ago

Hi,

I have installed default ROOT software and installed it globally. How do I install these files since they do not seem to have been in my root package?

Thanks & Regards,

Juhi

comment:3 by Pavel Demin, 8 years ago

If I'm not mistaken, the EVE part is built automatically when the required OpenGL libraries are present on the system.

Here are the commands that I use to install ROOT:

yum install subversion file make gcc-c++ gcc binutils libX11-devel libXpm-devel libXft-devel libXext-devel gcc-gfortran openssl-devel pcre-devel mesa-libGL-devel glew-devel ftgl-devel mysql-devel fftw-devel cfitsio-devel graphviz-devel openldap-devel python-devel libxml2-devel gsl-static xrootd-devel qt-devel

version=5.34.34
export ROOTSYS=/nopt/root/root-${version}-sl6_amd64_gcc44

wget http://root.cern.ch/download/root_v${version}.source.tar.gz
tar zxf root_v${version}.source.tar.gz

cd root
./configure linuxx8664gcc --enable-gdml --enable-minuit2 --enable-qt --enable-qtgsi --enable-roofit --enable-table --enable-unuran
make -j 8
make install
Version 0, edited 8 years ago by Pavel Demin (next)

comment:4 by J Dutta, 8 years ago

Hi,

I reinstalled root with the above commands. It works correctly now. Thank you very much for the help.

Regards,

Juhi

comment:5 by J Dutta, 8 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.