[ROOT] adding a utility class

From: Allister Levi Sanchez (allister@hep.sc.niigata-u.ac.jp)
Date: Fri Oct 15 2004 - 15:59:44 MEST


I'm using ROOT4.00/06 on Redhat 9.  I made a utility class called 
S4CALUtil which has only static utility functions (similar to TMath) 
such and want to use it in a macro by calling, say, 
S4CALUtil::GetConeID(Int_t i).  I compiled the class and added it into a 
shared library together other classes.  The compilation went OK.  
However, when I try to use it inside my analysis macro (after preloading 
the shared library), I get an error:

Error: GetConeID() header declared but not defined FILE:readj4_e_run.C 

Could someone please tell me what this kind of error usually means?

Thanks in advance,
Allister Levi Sanchez
Niigata University

This archive was generated by hypermail 2b29 : Sun Jan 02 2005 - 05:50:10 MET