GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » PANDA » PandaRoot » Bugs, Fixes, Releases » Current Trunk version doesn't compile
Current Trunk version doesn't compile [message #8036] Wed, 11 March 2009 23:08 Go to next message
Vanniarajan Suyam Jothi is currently offline  Vanniarajan Suyam Jothi
Messages: 35
Registered: October 2007
Location: Groningen
continuous participant

From: *KVI.nl
I am getting the following compilation Error with current trunk version in the reco tasks directory.

Can anybody help me with this?

regards,
Vanni


/home/rugkvi04/vanni/pandaroot/recotasks/V0Selector.cxx:35:30: ExtrapolateToPCA.h: No such file or directory
/home/rugkvi04/vanni/pandaroot/recotasks/V0Selector.cxx: In member function `
virtual void V0Selector::Exec(const Option_t*)':
/home/rugkvi04/vanni/pandaroot/recotasks/V0Selector.cxx:123: error: `
ExtrapolateToPCA' undeclared (first use this function)
/home/rugkvi04/vanni/pandaroot/recotasks/V0Selector.cxx:123: error: (Each
undeclared identifier is reported only once for each function it appears
in.)
make[2]: *** [recotasks/CMakeFiles/recotasks.dir/V0Selector.o] Error 1


Re: Current Trunk version doesn't compile [message #8037 is a reply to message #8036] Wed, 11 March 2009 23:28 Go to previous messageGo to next message
Anonymous Poster From: *pool.einsundeins.de
Hi,

I am very sorry. I had forgotten to commit some changes. I try to avoid these things as good as I can...

Christian
Re: Current Trunk version doesn't compile [message #8039 is a reply to message #8036] Thu, 12 March 2009 10:53 Go to previous messageGo to next message
Vanniarajan Suyam Jothi is currently offline  Vanniarajan Suyam Jothi
Messages: 35
Registered: October 2007
Location: Groningen
continuous participant

From: *KVI.nl
Now the MVD part doesn't compile
I get the following Err


[ 43%] Building CXX object mvd/CMakeFiles/Mvd.dir/MvdDAQ/PndMvdConvertApv.o
/home/rugkvi04/vanni/pandaroot/mvd/MvdDAQ/PndMvdConvertApv.cxx: In member
function `std::vector<PndMvdDigiStrip, std::allocator<PndMvdDigiStrip> >
PndMvdConvertApv::Calc(std::vector<PndMvdApvHit,
std::allocator<PndMvdApvHit> >)':
/home/rugkvi04/vanni/pandaroot/mvd/MvdDAQ/PndMvdConvertApv.cxx:156: error: `
SetFeID' undeclared (first use this function)
/home/rugkvi04/vanni/pandaroot/mvd/MvdDAQ/PndMvdConvertApv.cxx:156: error: (Each
undeclared identifier is reported only once for each function it appears
in.)
make[2]: *** [mvd/CMakeFiles/Mvd.dir/MvdDAQ/PndMvdConvertApv.o] Error 1
make[1]: *** [mvd/CMakeFiles/Mvd.dir/all] Error 2



Re: Current Trunk version doesn't compile [message #8045 is a reply to message #8039] Thu, 12 March 2009 16:53 Go to previous messageGo to next message
Dmitry Khaneft is currently offline  Dmitry Khaneft
Messages: 75
Registered: January 2009
continuous participant
From: 140.181.9*
I have the same problem with OS Ubuntu8.10 32bit but on my GSI PC with Debian Etch 32bit it was installed without any problem.

By the way if I type make second time it compile successfully but there are errors when I try run sim_emc.C.

Vanniarajan Suyam Jothi wrote on Thu, 12 March 2009 10:53

Now the MVD part doesn't compile
I get the following Err


[ 43%] Building CXX object mvd/CMakeFiles/Mvd.dir/MvdDAQ/PndMvdConvertApv.o
/home/rugkvi04/vanni/pandaroot/mvd/MvdDAQ/PndMvdConvertApv.cxx: In member
function `std::vector<PndMvdDigiStrip, std::allocator<PndMvdDigiStrip> >
PndMvdConvertApv::Calc(std::vector<PndMvdApvHit,
std::allocator<PndMvdApvHit> >)':
/home/rugkvi04/vanni/pandaroot/mvd/MvdDAQ/PndMvdConvertApv.cxx:156: error: `
SetFeID' undeclared (first use this function)
/home/rugkvi04/vanni/pandaroot/mvd/MvdDAQ/PndMvdConvertApv.cxx:156: error: (Each
undeclared identifier is reported only once for each function it appears
in.)
make[2]: *** [mvd/CMakeFiles/Mvd.dir/MvdDAQ/PndMvdConvertApv.o] Error 1
make[1]: *** [mvd/CMakeFiles/Mvd.dir/all] Error 2





[Updated on: Thu, 12 March 2009 16:54]

Report message to a moderator

Re: Current Trunk version doesn't compile [message #8049 is a reply to message #8036] Fri, 13 March 2009 08:40 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: 141.30.85*
Hi,

The MVD code had changes in a data class, which is freshly moved into pnddata. We committed these changes now, too (rev. 4971).
Sorry for the inconvenience.

Ralf & Lars
Re: Current Trunk version doesn't compile [message #8054 is a reply to message #8036] Fri, 13 March 2009 12:47 Go to previous messageGo to next message
M.Babai is currently offline  M.Babai
Messages: 46
Registered: January 2008
Location: Netherlands
continuous participant
From: *KVI.nl
I'm getting the following error:

pandaroot/genfit/AbsTrackRep.cxx:38: error: 'abort' was not declared in this scope


In the more recent versions of gcc, this function is part of the algorithm library. This compile error can be solved either by changing the implementation or by including the library header.

Cheers,
Re: Current Trunk version doesn't compile [message #8055 is a reply to message #8054] Fri, 13 March 2009 12:55 Go to previous messageGo to next message
Anonymous Poster From: *pool.einsundeins.de
Hi,

I am sorry about this, my compiler didnt mind, but I guess that is why we have this forum...

I changed it to 'throw' which I guess should work with any compiler. BTW, what does everybody think: What is the actual best way to abort the program if something happens that may never happen?

Cheers, Christian
Re: Current Trunk version doesn't compile [message #8056 is a reply to message #8055] Fri, 13 March 2009 12:59 Go to previous messageGo to next message
StefanoSpataro is currently offline  StefanoSpataro
Messages: 2736
Registered: June 2005
Location: Torino
first-grade participant

From: *physik.uni-giessen.de
Hi,
in theory only the bad tracks should be skipped, and the program should never be aborted.
One could propagate a sort of "status" flag to the task, so that when this is False the computation is blocked (maybe with a series of return kFALSE). In this way the task can continue just skipping the bad objects.
Just my opinion.
Re: Current Trunk version doesn't compile [message #8057 is a reply to message #8055] Fri, 13 March 2009 13:01 Go to previous messageGo to next message
M.Babai is currently offline  M.Babai
Messages: 46
Registered: January 2008
Location: Netherlands
continuous participant
From: *KVI.nl
Christian Hoeppner wrote on Fri, 13 March 2009 12:55


BTW, what does everybody think: What is the actual best way to abort the program if something happens that may never happen?


Thank you for your fast reply and the fix.
Ik think the best way is to handle the exception.

Kind wishes.
Re: Current Trunk version doesn't compile [message #8059 is a reply to message #8056] Fri, 13 March 2009 13:20 Go to previous message
Anonymous Poster From: *pool.einsundeins.de
Hi Stefano,

you are right about cases where the fit goes wrong. We dont have a hard abort in that case. The case which came up here, was if someone calls a function which is not implemented. It means that for some track reps, features like extrapolateToPoca dont have to be implemented by all means. However if you want to use the trackRep with hits that need this feature, we want to abort.

Cheers, Christian
Previous Topic: Problem with compilation of EvtGen
Next Topic: switchDirection in Kalman
Goto Forum:
  


Current Time: Sat Apr 27 08:35:34 CEST 2024

Total time taken to generate the page: 0.00819 seconds