Fork me on GitHub

Opened 4 years ago

#1489 new Bug

Problem when running the event display example

Reported by: Carlos Buitrago Owned by:
Priority: minor Milestone:
Component: Delphes code Version: Delphes 3
Keywords: event display Cc:

Description

I am trying to run the event display example, for this i used (on the main Delphes directory):

make display
root -l examples/EventDisplay.C'("cards/delphes_card_CMS.tcl","output_pp2ttbar.root")'

which gave me the error:

Processing examples/EventDisplay.C("cards/delphes_card_CMS.tcl","output_pp2ttbar.root")...
cling::DynamicLibraryManager::loadLibrary(): libOpenGL.so.0: cannot open shared object file: No such file or directory
cling::DynamicLibraryManager::loadLibrary(): libOpenGL.so.0: cannot open shared object file: No such file or directory
In file included from input_line_108:1:
/home/carlos/software/Delphes-3.4.2/examples/EventDisplay.C:9:10: fatal error: 'display/DelphesEventDisplay.h' file not found
#include "display/DelphesEventDisplay.h"

After which i tried to copy the display directory to the examples directory and used once again:

root -l examples/EventDisplay.C'("cards/delphes_card_CMS.tcl","output_pp2ttbar.root")'

this time i got the error:

Processing examples/EventDisplay.C("cards/delphes_card_CMS.tcl","output_pp2ttbar.root")...
cling::DynamicLibraryManager::loadLibrary(): libOpenGL.so.0: cannot open shared object file: No such file or directory
cling::DynamicLibraryManager::loadLibrary(): libOpenGL.so.0: cannot open shared object file: No such file or directory
cling::DynamicLibraryManager::loadLibrary(): libOpenGL.so.0: cannot open shared object file: No such file or directory
Error in <TClingLazyFunctionCreatorAutoloadForModule>: Failed to load library /home/carlos/software/MG5_aMC_v2_9_2/Delphes/libDelphesDisplay.so
cling::DynamicLibraryManager::loadLibrary(): libOpenGL.so.0: cannot open shared object file: No such file or directory
Error in <TCling
LazyFunctionCreatorAutoloadForModule>: Failed to load library /home/carlos/software/MG5_aMC_v2_9_2/Delphes/libDelphesDisplay.so
cling::DynamicLibraryManager::loadLibrary(): libOpenGL.so.0: cannot open shared object file: No such file or directory
Error in <TClingLazyFunctionCreatorAutoloadForModule>: Failed to load library /home/carlos/software/MG5_aMC_v2_9_2/Delphes/libDelphesDisplay.so
cling::DynamicLibraryManager::loadLibrary(): libOpenGL.so.0: cannot open shared object file: No such file or directory
Error in <TCling
LazyFunctionCreatorAutoloadForModule>: Failed to load library /home/carlos/software/MG5_aMC_v2_9_2/Delphes/libDelphesDisplay.so
cling::DynamicLibraryManager::loadLibrary(): libOpenGL.so.0: cannot open shared object file: No such file or directory
Error in <TClingLazyFunctionCreatorAutoloadForModule>: Failed to load library /home/carlos/software/MG5_aMC_v2_9_2/Delphes/libDelphesDisplay.so
cling::DynamicLibraryManager::loadLibrary(): libOpenGL.so.0: cannot open shared object file: No such file or directory
Error in <TCling
LazyFunctionCreatorAutoloadForModule>: Failed to load library /home/carlos/software/MG5_aMC_v2_9_2/Delphes/libDelphesDisplay.so
cling::DynamicLibraryManager::loadLibrary(): libOpenGL.so.0: cannot open shared object file: No such file or directory
Error in <TClingLazyFunctionCreatorAutoloadForModule>: Failed to load library /home/carlos/software/MG5_aMC_v2_9_2/Delphes/libDelphesDisplay.so
cling::DynamicLibraryManager::loadLibrary(): libOpenGL.so.0: cannot open shared object file: No such file or directory
Error in <TCling
LazyFunctionCreatorAutoloadForModule>: Failed to load library /home/carlos/software/MG5_aMC_v2_9_2/Delphes/libDelphesDisplay.so
IncrementalExecutor::executeFunction: symbol '_ZN17Delphes3DGeometry11getDetectorEb' unresolved while linking [cling interface function]!
You are probably missing the definition of Delphes3DGeometry::getDetector(bool)
Maybe you need to load the corresponding shared library?
IncrementalExecutor::executeFunction: symbol '_ZN17Delphes3DGeometry8readFileEPKcS1_S1_S1_S1_' unresolved while linking [cling interface function]!
You are probably missing the definition of Delphes3DGeometry::readFile(char const*, char const*, char const*, char const*, char const*)
Maybe you need to load the corresponding shared library?
IncrementalExecutor::executeFunction: symbol '_ZN17Delphes3DGeometryC1EP11TGeoManagerb' unresolved while linking [cling interface function]!
You are probably missing the definition of Delphes3DGeometry::Delphes3DGeometry(TGeoManager*, bool)
Maybe you need to load the corresponding shared library?
IncrementalExecutor::executeFunction: symbol '_ZN19DelphesEventDisplayC1EPKcS1_R17Delphes3DGeometry' unresolved while linking [cling interface function]!
You are probably missing the definition of DelphesEventDisplay::DelphesEventDisplay(char const*, char const*, Delphes3DGeometry&)
Maybe you need to load the corresponding shared library?

I read that this probably is an error due to PATH and that i need to edit the bashrc, but im pretty new to ubuntu and i don't know exactly what is the exact line that i need to write.

Thank you for your attention.

Change History (0)

Note: See TracTickets for help on using tickets.