GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » PANDA » PandaRoot » Bugs, Fixes, Releases » [Fixed] PndMvdStripHitProducer undeclared function
[Fixed] PndMvdStripHitProducer undeclared function [message #18291] Mon, 01 June 2015 11:31 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 just got an undefined reference when linking to the libMvd, and the following member function is not implemented.

/** Specify the branch & folder names for the I/O **/
void SetBranchNames(TString inBranchname, TString outBranchname, TString folderName);

Since we mostly have macros that use the shared libraries, these errors usually do not appear unless you link to that library from somewhere else. Maybe we can turn on -Wl,--no-undefined to avoid these kind of errors...

Cheers,

Stefan

[Updated on: Mon, 06 July 2015 13:40]

Report message to a moderator

Re: PndMvdStripHitProducer undeclared function [message #18342 is a reply to message #18291] Mon, 06 July 2015 12:02 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
I see that the current version still does not have this fixed? Could someone please add the following lines to the PndMvdStripHitProducer.cxx, since I do not have any write permissions in that directory Wink.

void PndMvdStripHitProducer::SetBranchNames(TString inBranchname, TString outBranchname, TString folderName) {
fInBranchName = inBranchname;
fOutBranchName = outBranchname;
fFolderName = folderName;
SetInBranchId();
}
Re: PndMvdStripHitProducer undeclared function [message #18343 is a reply to message #18342] Mon, 06 July 2015 12:50 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
Done Razz
Re: PndMvdStripHitProducer undeclared function [message #18344 is a reply to message #18343] Mon, 06 July 2015 13:38 Go to previous message
Stefan Pflueger is currently offline  Stefan Pflueger
Messages: 99
Registered: February 2012
continuous participant
From: *kph.uni-mainz.de
Thanks Tobias!
Previous Topic: [NOTABUG] Warning: FairRun Function
Next Topic: [FIXED] TransMap_Half.0406.root does not exist
Goto Forum:
  


Current Time: Sat Dec 04 23:14:25 CET 2021

Total time taken to generate the page: 0.01916 seconds