root macro not found in path
Jump to:
Description
With CERN root, following a tutorial, I do:
root [0] .x mymacro.C(42)
Error in <TApplication::ExecuteFile>: macro mymacro.C not found in path .:/usr/share/root/macros:
How do I set the path?
With CERN root, following a tutorial, I do:
root [0] .x mymacro.C(42)
Error in <TApplication::ExecuteFile>: macro mymacro.C not found in path .:/usr/share/root/macros:
How do I set the path?
Comments
#1
man root refers to ~/.rootrc
See also /etc/root/system.rootrc
#2
Oh! It was a typo, an error in capitalization. root does include macros found in the current directory.
#3
Automatically closed -- issue fixed for 2 weeks with no activity.