If I have a very simple macro named helloscript.cc
in /Users/surrutiaquir/Downloads
,
void helloscript()
{
cout << "hello world!" << endl;
}
I’m able to run it smoothly:
$ root -l -b helloscript.cc
root [0]
Processing helloscript.cc...
hello world!
However, if I move the file to a directory with a more complicated name (/Users/surrutiaquir/Dropbox/HEP/[Research] My Papers/[PUC] IDM at the LHC (inconcluso)/nyx
) I get the following error:
root -l -b helloscript.cc
root [0]
Processing helloscript.cc...
Error in <TApplication::ExecuteFile>: macro helloscript.cc not found in path .:/Users/surrutiaquir/Software/Python/envs/root6/macros
What might be the reason? Thanks a lot for your input.
ROOT Version: 6.26/02
Platform: macosx64
Compiler: clang