Fork me on GitHub

Opened 6 years ago

Closed 6 years ago

#1297 closed Bug (fixed)

Error: cannot open file "TLorentzVector.h" classes/DelphesClasses.h:38:

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

Description

Hi

I know this ticket has already been submitted by others, but I did not find a satisfying solution... I have root installed, and I also did the required Path settings:

export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$ROOT/lib:$ROO/lib/root
export PATH=$PATH:$ROOT/bin
export ROOTSYS=$ROOT
export DYLD_LIBRARY_PATH=$DYLD_LIBRARY_PATH:$ROOT/lib

using this for other codes that depend on Root (eg Checkmate) I have no problems, so it seems to be something I am lacking in the Delphes setup. ??

Please help

Thanks Best Tania

Change History (2)

comment:1 by Pavel Demin, 6 years ago

Hi Tania,

Please provide more information about your setup. What OS are you using? How ROOT is installed?

TLorentzVector.h is one of the ROOT's header files. The error message indicates that you don't have this and probably other required ROOT header files installed.

In all the previous cases the solution was to properly install ROOT and all its header files.

In my opinion, the best way to install ROOT is to download and unpack one of the binary packages compatible with your OS. Here is a link to the latest version:
https://root.cern.ch/content/release-61206

Best regards,

Pavel

comment:2 by Pavel Demin, 6 years ago

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