[ROOT] Compiling a C++ Program containing CMinuit

From: Steffen Grohmann (Steffen.Grohmann@cern.ch)
Date: Thu Dec 12 2002 - 19:52:09 MET


Hello,
 
I am trying to compile a C++ source file that contains a Minuit object
in order to debugg a complex fitting algorithm. Although I have included
the path for the ROOT objects, I always get a compiler error like:
 
../File.cc:70: undefined reference to 'TMinuit::TMinuit(int)'
 
where (in this example line 70) contains the inizialization of the
object:
 
TMinuit *gMinuit = new TMinuit(5);  (like in the Ifit.C tutorial).
 
Could you please tell me what is wrong with the syntax?
 
Thanks, Steffen
 
 



This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:51:23 MET