Error when using TH1F::DrawCopy

Hi,

I just switched to ROOT-4.02 and try to compile my old RootApp with it.
The compilation works fine, but when building the executable I get the error messages like this one:

FIT_B_fitting.o(.text+0x133b): undefined reference to `TH1F::DrawCopy(char const *)’

in the C++ source the corresponding code is:

myHisto->DrawCopy(“same”);

I ve also the same problem with:
Utils.o(.text+0x3ac5): undefined reference to `TGraph::Fit(char const *, char const *, char const *)’

This code used to work with my previous version of root which was root-3.03/02

Is there something I should put in my code to fix that?

Thanks by advance,

Fabrice

In case you use dictionaries, did you rebuild them with the new rootcint?

Rene

[quote=“brun”]In case you use dictionaries, did you rebuild them with the new rootcint?

now it works, :smiley:

thanks a lot ,

Fabrice