CERN root

root macro not found in 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?

root

https://en.wikipedia.org/wiki/ROOT
https://root.cern.ch/

Configuration

man root refers to ~/.rootrc
See also /etc/root/system.rootrc

Syndicate content