Problem in roofit 3.0: TFoamIntegrand

While compiling my code that used to be fine with the old version of roofit, I now (root 5.24) get this error :
/home/poss/root/lib/ undefined reference to vtable for TFoamIntegrand' /home/poss/root/lib/ undefined reference toTFoamIntegrand::ShowMembers(TMemberInspector&, char*)’
/home/poss/root/lib/ undefined reference to TFoam::TFoam(char const*)' /home/poss/root/lib/ undefined reference totypeinfo for TFoamIntegrand’
collect2: ld returned 1 exit status

I had no errors when compiling root from source. What am I missing ?



you probably need to add -lFoam to the list of linked librariesfor your application


Thanks, that works !