Hello, I am trying to run a simple macro I created but whenever I save it on my text editor the file does not show up on root!
The version of root that I have is 6.10/02
the error I keep getting is the following:
Error in TApplication::ExecuteFile: macro hello.C not found in path .:/home/diego/build/macros.
Additionally, I can only run macros if I open up the ROOT Object Browser and save the macro through there.
Is there a way to change this?
I am fairly new to ROOT so any help would be great!
is there any way to change the path source?
Thanks again!
I am typing .x hello.C and it cant seem to find the file.
I am using Ubuntu to run it since I have a windows pc.
The only way I am able to run a macro I have written in a text editor is to copy and paste it onto the
ROOT Object Browser and save it through there. Is there a way around this?
Can you explain more your system? Are you using windows or Ubuntu? Are you launching ROOT from the terminal in the same folder as your script?
A listing of the files in the directory will tell you if the file is available.