GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » PANDA » PandaRoot » Bugs, Fixes, Releases » [FIXED] Cannot run sample macros (PANDA ROOT )
Re: Cannot run sample macros [message #18683 is a reply to message #18635] Wed, 11 November 2015 11:50 Go to previous messageGo to previous message
Radoslaw Karabowicz is currently offline  Radoslaw Karabowicz
Messages: 108
Registered: June 2004
Location: GSI
continuous participant
From: *gsi.de
Found the damn problem finally.

It seems that quite recently (between FairSoft mar15 and jul15)
the file transport/geant3/TGeant3/geant3LinkDef.h
was changed and line:
#pragma link C++ class Ertrio1_t+;
was commented out with the following comment:
// Unused class rule
// (generate warning with Root6 cling)

Unfortunately in Panda we use the struct in the root-loaded macro.

I have changed the file and added:

#pragma link C++ struct Ertrio_t+;
#pragma link C++ struct Ertrio1_t+;

did (in Fairsoft):

./make_clean.sh geant3 all
./configure.sh

After this the setting of the noprnt works!
I have also checked root6.
Setting the flag works without any changes to the linkdef.h
After putting of the lines it still compiles (at least on my mac).

yours
radek
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: [NOTABUG] Linking to libField.so causes seg violation
Next Topic: [FIXED] genfit2 update - bugs(?)
Goto Forum:
  


Current Time: Fri Apr 26 20:22:01 CEST 2024

Total time taken to generate the page: 0.00988 seconds