Error: cannot open file "TMVA/DataLoader.h"


I’m trying to implement BDT for separating signal and background events. I’ve modified the TMVAClassification.C code according to my problem. But when I’m compiling it in root in lxplus6 cluster its showing me: Error: cannot open file “TMVA/DataLoader.h” TMVAClassification.C:59:
*** Interpreter error recovered ***
how can I fix this problem?

Your “root-config --has-tmva” must return “yes” and then for “TMVA/DataLoader.h” you need ROOT 6.

thanks a lot for your response.