GSI Helmholtzzentrum für Schwerionenforschung
How to add new decay model for pbar d collisions
Hi, I want to add a new decay model for pbar d collisions with spectator proton. I thought having correctly derived this from existing decay model files, and registered it in EvtModelReg.cc. When compiling I get the following error message: [ 20%] Built target DpmEvtGen_exe [ 23%] Built target Photos Scanning dependencies of target EvtGen [ 23%] Building CXX object pgenerators/EvtGen/CMakeFiles/EvtGen.dir/EvtGenModels/EvtModelReg.cc.o Linking Fortran shared library ../../lib/libEvtGen.so [ 43%] Built target EvtGen Linking Fortran executable ../../bin/simpleEvtGen ../../lib/libEvtGen.so.0.0.0: undefined reference to `vtable for EvtDeuteronSpectator' collect2: ld returned 1 exit status make[2]: *** [bin/simpleEvtGen] Error 1 make[1]: *** [pgenerators/EvtGen/CMakeFiles/EvtGen_exe_simpleEvtGen.dir/all] Error 2 make: *** [all] Error 2 What does this mean? Best regards, Albrecht
Re: How to add new decay model for pbar d collisions
Have you added the class into EvtGen/CMakeLists.txt?
Thank you for the hint. I didn't know that (probably a beginners' mistake). Now it compiles! If it will work is another question. Best regards, Albrecht