I use Ubuntu and I have installed Root version 6.22.00 from a pre-compiled distribution. It works good but I have problems with Roofit, even from the declaration of a variable via RooRealVar: I have written in different ways such as
RooRealVar x(“x”,“x”,0.20,0.80) ;
as explained in the manual, but I have the following error:
(.text+0x437): undefined reference to `RooRealVar::RooRealVar(char const*, char const*, double, double, char const*)’
Do I have to configure or add something in Root installation?
Thanks in advance