Are you linking with libMinuit ? Which version are you using? see: http://root.cern.ch/root/roottalk/RoottalkRules.html Rene Brun Jiri Kvita wrote: > > Hello! > > I would like to ask whether there is a problem using TFitter and TMinuit > in a Makefile-based compiled code? > Both g++ and KCC are complaining not to know the TFitter constructor, e.g. > // this is fine: > TFitter* fitter = 0; > // this complains: > Int_t Npar=5; > TFitter* fitter = new TFitter(Npar); > > g++: > undefined reference to `TFitter::TFitter[in-charge](int)' > KCC: > undefined reference to `TFitter::__ct(int)' > > Thanks a lot indeed for any hint! > > jiri kvita > > .\|/. > --o-- > '/|\' > _|_ > \_/ > > ---------------------------------------------------------------------- > Jiri Kvita, jiri.kvita@cern.ch, kvita@fnal.gov, qitek@matfyz.cz > http://qitek.matfyz.cz > Charles University, Prague, Faculty of Mathematics and Physics > Institute of Particle and Nuclear Physics > FyzWeb - pages on physics! (in Czech) http://fyzweb.cuni.cz > ----------------------------------------------------------------------- > > -------------------------------------------------------------------------------- > Name: fit.cpp > fit.cpp Type: Plain Text (TEXT/PLAIN) > Encoding: BASE64
This archive was generated by hypermail 2b29 : Sun Jan 02 2005 - 05:50:10 MET