| Problem with implementing new decay models in EvtGen [message #18154] | 
			Wed, 22 April 2015 08:41   | 
		 
		
			
				
				
				
					
						  
						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 
		
		
		
 |  
	| 
		
	 | 
 
 
 | 
	| 
		
 | 
	| 
		
 | 
	| 
		
 |