GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » Fairroot » General Discussion » Fairroot compiler errors: when building current pandaroot revision (19615)
Fairroot compiler errors: when building current pandaroot revision (19615) [message #14709] Mon, 06 May 2013 13:37 Go to next message
Stefan Pflueger is currently offline  Stefan Pflueger
Messages: 99
Registered: February 2012
continuous participant
From: *kph.uni-mainz.de
Hello,

I was just updating my Pandaroot and I'm getting the following compiler errors:
Quote:


[ 7%] Generating G__BaseDict.cxx
Error: cannot open file "f_evt.h" /home/steve/pandaroot/base/source/FairLmdSource.h:13:
Error: cannot open file "s_filhe_swap.h" /home/steve/pandaroot/base/source/FairLmdSource.h:14:
Error: cannot open file "s_bufhe_swap.h" /home/steve/pandaroot/base/source/FairLmdSource.h:15:
Error: Symbol s_evt_channel is not defined in current scope /home/steve/pandaroot/base/source/FairLmdSource.h:32:
Error: Symbol fxInputChannel is not defined in current scope /home/steve/pandaroot/base/source/FairLmdSource.h:32:
Error: Symbol s_ve10_1 is not defined in current scope /home/steve/pandaroot/base/source/FairLmdSource.h:33:
Error: Symbol fxEvent is not defined in current scope /home/steve/pandaroot/base/source/FairLmdSource.h:33:
Error: Symbol s_bufhe is not defined in current scope /home/steve/pandaroot/base/source/FairLmdSource.h:34:
Error: Symbol fxBuffer is not defined in current scope /home/steve/pandaroot/base/source/FairLmdSource.h:34:
Error: Symbol s_ves10_1 is not defined in current scope /home/steve/pandaroot/base/source/FairLmdSource.h:36:
Error: Symbol fxSubEvent is not defined in current scope /home/steve/pandaroot/base/source/FairLmdSource.h:36:
Warning: Error occurred during reading source files
Warning: Error occurred during dictionary source generation


I couldn't find the three header files (f_evt.h etc.) on my system and google told me that they are part of the data acquisition backbone base (dabc) of fair. Is this correct? If so shouldn't the dabc repository be included as an external? Or am I missing something else?

Best regards,

Stefan
Re: Fairroot compiler errors: when building current pandaroot revision (19615) [message #14710 is a reply to message #14709] Mon, 06 May 2013 13:45 Go to previous messageGo to next message
Ralf Kliemt is currently offline  Ralf Kliemt
Messages: 507
Registered: May 2007
Location: GSI, Darmstadt
first-grade participant

From: *gsi.de
Hello Stefan.

Please update to rev. 19614.
You alternatively may try rev. 19616 and tell me what sorts of problems you get (it should compile, you just hit an intermediate state.).

Beware that there will be more changes ahead which might break compilation on the trunk these days. I do my best to avoid that.

Cheers
Ralf
Re: Fairroot compiler errors: when building current pandaroot revision (19615) [message #14711 is a reply to message #14710] Mon, 06 May 2013 13:48 Go to previous messageGo to next message
Stefan Pflueger is currently offline  Stefan Pflueger
Messages: 99
Registered: February 2012
continuous participant
From: *kph.uni-mainz.de
Hi Ralf,

ah ok, thx a lot. Totally forgot about this... Stefano gave us an heads up already.

Stefan
Re: Fairroot compiler errors: when building current pandaroot revision (19615) [message #14712 is a reply to message #14711] Mon, 06 May 2013 13:53 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
... you missed the pandaroot meeting of this morning, where it was announced Razz
Re: Fairroot compiler errors: when building current pandaroot revision (19615) [message #14713 is a reply to message #14709] Mon, 06 May 2013 14:12 Go to previous messageGo to next message
Stefan Pflueger is currently offline  Stefan Pflueger
Messages: 99
Registered: February 2012
continuous participant
From: *kph.uni-mainz.de
Hi,

@Ralf
ok revision 19614 compiles just fine, but 19616 gives me the following errors at the cmake stage...
Quote:


CMake Error at cmake/modules/ROOTMacros.cmake:237 (Add_Library):
Cannot find source file:

FairBaseContFact.cxx

Tried extensions .c .C .c++ .cc .cpp .cxx .m .M .mm .h .hh .h++ .hm .hpp
.hxx .in .txx
Call Stack (most recent call first):
base/CMakeLists.txt:79 (GENERATE_LIBRARY)


-- Build files have been written to: /home/steve/pandaroot/build



Ok I didn't investigate this, but that file resides in the base subdir, so probably just some wrong path setting.
Quote:


[steve@paluma01 build]$ locate FairBaseContFact.cxx
/home/steve/pandaroot/base/FairBaseContFact.cxx



@Stefano yes I should probably start taking part in these meetings... Wink
Re: Fairroot compiler errors: when building current pandaroot revision (19615) [message #14714 is a reply to message #14713] Mon, 06 May 2013 14:21 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
However, in my Ubuntu the new trunk compiled, now I will check in my MAC.
Re: Fairroot compiler errors: when building current pandaroot revision (19615) [message #14715 is a reply to message #14713] Mon, 06 May 2013 14:22 Go to previous messageGo to next message
Ralf Kliemt is currently offline  Ralf Kliemt
Messages: 507
Registered: May 2007
Location: GSI, Darmstadt
first-grade participant

From: *gsi.de
Hi Stefan
Maybe you should check your working copy (use svn status). If you're "clean" then simply remove eveerything in your build directory and run cmake/make again.

Cheers
Ralf
Re: Fairroot compiler errors: when building current pandaroot revision (19615) [message #14716 is a reply to message #14715] Mon, 06 May 2013 14:35 Go to previous messageGo to next message
Stefan Pflueger is currently offline  Stefan Pflueger
Messages: 99
Registered: February 2012
continuous participant
From: *kph.uni-mainz.de
Hi,

hmpf sry, ok somehow my base directory was "broken"... ok its working now (fedora 16 64bit)
Re: Fairroot compiler errors: when building current pandaroot revision (19615) [message #14717 is a reply to message #14713] Mon, 06 May 2013 15:13 Go to previous message
Florian Uhlig is currently offline  Florian Uhlig
Messages: 424
Registered: May 2007
first-grade participant
From: *gsi.de
Hi Stefan,

obviously there is something wrong with you local working copy. The file should be now in

./base/sim/FairBaseContFact.cxx

Maybe do a "svn cleanup" in the base directory of your pandaroot installation.

Ciao

Florian
Previous Topic: keeping track of a particle as it goes through a detector
Next Topic: trouble running event display
Goto Forum:
  


Current Time: Thu Feb 02 09:23:10 CET 2023

Total time taken to generate the page: 0.01006 seconds