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/libRooFitCore.so: undefined reference to vtable for TFoamIntegrand' /home/poss/root/lib/libRooFitCore.so: undefined reference toTFoamIntegrand::ShowMembers(TMemberInspector&, char*)’
/home/poss/root/lib/libRooFitCore.so: undefined reference to TFoam::TFoam(char const*)' /home/poss/root/lib/libRooFitCore.so: undefined reference totypeinfo for TFoamIntegrand’
collect2: ld returned 1 exit status

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

Thanks.

Hello,

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

Lorenzo

Thanks, that works !

Cheers.