Hi,
I’m trying to run macros from TUnuran tutorial folder, but I have the following message:
Error: Cannot open file “TUnuran.h”
It’s strange. since I’ve found the TUnuran.h in the root directories (v. 5-34).
Where is the problem??
Thanks
Tin
Hi,
I’m trying to run macros from TUnuran tutorial folder, but I have the following message:
Error: Cannot open file “TUnuran.h”
It’s strange. since I’ve found the TUnuran.h in the root directories (v. 5-34).
Where is the problem??
Thanks
Tin
Try:
root-config --has-unuran
and if you get “no”, that means that you need to rebuild your ROOT from scratch with “–enable-unuran” (or simply “–all”).
[quote=“Wile E. Coyote”]Try:
root-config --has-unuran
and if you get “no”, that means that you need to rebuild your ROOT from scratch with “–enable-unuran” (or simply “–all”).[/quote]
I got “no”
so I need to rebuild root with that option.
I remember that I’ve needed to install also patches, this could be a problem?
I’m not an expert.
Many thanks.
Tina
Try with the current “v5-34-00-patches” source code:
rm -rf v5-34-00-patches
git clone -b v5-34-00-patches http://root.cern.ch/git/root.git v5-34-00-patches
cd v5-34-00-patches
unset ROOTSYS
./configure --enable-soversion --all
make
[quote=“Wile E. Coyote”]Try with the current “v5-34-00-patches” source code:
git clone -b v5-34-00-patches http://root.cern.ch/git/root.git v5-34-00-patches
cd v5-34-00-patches
unset ROOTSYS
./configure --enable-soversion --all
make
[/quote]
It works!!
Thanks.
Tina
Can you please elaborate in this, I’m also facing a similar problem in lxplus6 cluster where I’m getting “can’t open file TMVA/DataLoader.h”?
Hi,
Please open a new question instead of reviving old threads
In that new post, please include environment, ROOT/TMVA version information, a description of what it is you want to do, and what error you encounter. This will help you get good assistance quickly!
Cheers,
Kim
See this thread: Error: cannot open file "TMVA/DataLoader.h"