Header not found

Hi all,

I am trying to use a fit macro, which involves the header “RooGlobalFunc.h” and the namespace “RooFit”.

When I compile it, I receive the following error message :

" […] error: RooGlobalFunc.h: No such file or directory
[…] error: ‘RooFit’ is not a namespace-name […] "

Would anyone have an idea of why it doesn’t find this header, and how to fix this ?

Thanks in advance,


see examples of use in $ROOTSYS/tutorials/roofit
for example rf101_basics.C