GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » PANDA » PandaRoot » Bugs, Fixes, Releases » [FIXED] Error compiling PandaRoot (FairMultiLinkedData_Interface.h)
[FIXED] Error compiling PandaRoot (FairMultiLinkedData_Interface.h) [message #17913] Wed, 18 February 2015 07:36 Go to next message
Klaus Götzen is currently offline  Klaus Götzen
Messages: 293
Registered: June 2006
Location: GSI
first-grade participant
From: *gsi.de
Hi,


I tried to install an compile the newest trunk 27083 following the recipe in the Wiki and starting from installing the external packages (jul14p3) and FairRoot. Both compiled successfully, but when compiling trunk itself I got the error

[ 49%] Building CXX object sds/CMakeFiles/Sds.dir/SdsDigi/PndSdsHybridHitProducer.cxx.o                                                                                                                                   
/u/kgoetzen/pandaroot/trunk4/sds/SdsDigi/PndSdsHybridHitProducer.cxx:31:45: error: FairMultiLinkedData_Interface.h: No such file or directory                                                                             
/u/kgoetzen/pandaroot/trunk4/sds/SdsDigi/PndSdsHybridHitProducer.cxx: In member function 'virtual void PndSdsHybridHitProducer::Exec(const Option_t*)':
/u/kgoetzen/pandaroot/trunk4/sds/SdsDigi/PndSdsHybridHitProducer.cxx:392: error: 'FairMultiLinkedData_Interface' was not declared in this scope
/u/kgoetzen/pandaroot/trunk4/sds/SdsDigi/PndSdsHybridHitProducer.cxx:392: error: expected primary-expression before ')' token
make[2]: *** [sds/CMakeFiles/Sds.dir/SdsDigi/PndSdsHybridHitProducer.cxx.o] Error 1
make[1]: *** [sds/CMakeFiles/Sds.dir/all] Error 2
make: *** [all] Error 2


Does somebody know what's going wrong? Or is this simply a new bug?


Best,
Klaus

[Updated on: Thu, 23 April 2015 14:15] by Moderator

Report message to a moderator

Re: Error compiling PandaRoot (FairMultiLinkedData_Interface.h) [message #17914 is a reply to message #17913] Wed, 18 February 2015 10:02 Go to previous messageGo to next message
Tobias Stockmanns is currently offline  Tobias Stockmanns
Messages: 489
Registered: May 2007
first-grade participant
From: *ikp.kfa-juelich.de
Hi Klaus,

the problem arrises because you are using the new external packages with an old FairRoot version. In the new FairRoot the structure of the FairLinks has changed with the consequence that FairMultiLinkedData has to be replaced by FairMultiLinkedData_Interface. Unfortunately we cannot check which FairRoot version you are using therefore we check for the ROOT version. This fails in your case.

As a fast bypass just comment the lines with FairMultiLinkedData_Interface and the associated lines with "#if (ROOT_VERSION_CODE >= ROOT_VERSION(5,34,10))"

Cheers,

Tobias
Re: Error compiling PandaRoot (FairMultiLinkedData_Interface.h) [message #17915 is a reply to message #17914] Wed, 18 February 2015 10:25 Go to previous messageGo to next message
StefanoSpataro is currently offline  StefanoSpataro
Messages: 2736
Registered: June 2005
Location: Torino
first-grade participant

From: *to.infn.it
Hi Klaus,
you forgot to set FAIRROOTPATH and to remove the base folders.

[Updated on: Wed, 18 February 2015 11:42]

Report message to a moderator

Re: Error compiling PandaRoot (FairMultiLinkedData_Interface.h) [message #17916 is a reply to message #17914] Wed, 18 February 2015 11:39 Go to previous message
Klaus Götzen is currently offline  Klaus Götzen
Messages: 293
Registered: June 2006
Location: GSI
first-grade participant
From: *gsi.de
Hi Tobias,


thanks for the hint. After I commented these lines in several places, it compiled now!


Best,
Klaus
Previous Topic: [FIXED] problem on installing pandaroot
Next Topic: Loss of efficiency for electrons at theta~22^deg, due to association failure in EMC
Goto Forum:
  


Current Time: Fri Mar 29 02:16:59 CET 2024

Total time taken to generate the page: 0.00912 seconds