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: *ikp.kfa-juelich.de
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/libEvtGen.so.0.0.0: undefined reference to `vtable for EvtDeuteronDeltaDelta'
../../../lib/libEvtGen.so.0.0.0: 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,
Albrecht
 
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: Sat Nov 23 01:44:27 CET 2024

Total time taken to generate the page: 0.00819 seconds