GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » PANDA » PandaRoot » Event Generators » Problem with implementing new decay models in EvtGen (don't understand error message)
Problem with implementing new decay models in EvtGen [message #18154] Wed, 22 April 2015 08:41 Go to previous message
Albrecht Gillitzer is currently offline  Albrecht Gillitzer
Messages: 49
Registered: March 2004
continuous participant
From: *
Hi experts,

I want to implement 2 new decay models in EvtGen for pbar + d collisions ("EvtDeuteronDeltaDelta" and "EvtPbarDelta2PiPi") for which I copied the existing and working module "EvtDeuteronSpectator". I added both new decay models in CMakeLists.txt and in EvtModelReg.cpp just as for the other decay models.
Both modules are compiled without errors eventually but now I am getting the error message:
[ 36%] Built target EvtGenExternal
Linking CXX executable ../../../bin/evtgen_dalitz
../../../lib/ undefined reference to `vtable for EvtDeuteronDeltaDelta'
../../../lib/ undefined reference to `vtable for EvtPbarDelta2PiPi'
collect2: error: ld returned 1 exit status
make[2]: *** [bin/evtgen_dalitz] Error 1
make[1]: *** [pgenerators/EvtGen/EvtGen/CMakeFiles/evt_dalitz.dir/all] Error 2
make: *** [all] Error 2

What does "vtable" mean? Did I miss any required modification?
I didn't change anything related to evtgen_dalitz (???), why am I getting an error there?

Hoping for your help,
Read Message
Read Message
Read Message
Read Message
Previous Topic: EMFFGen as a pi + pi - generator
Next Topic: simpleEvtGen doesn't know deuteron target
Goto Forum:

Current Time: Thu Jul 18 14:27:04 CEST 2024

Total time taken to generate the page: 0.00834 seconds