Sunday, December 31, 2017

running root with error: cannot open file "iostream" (tmpfile)

running root, got the error message

 Error: cannot open file "iostream"  (tmpfile):2:
*** Interpreter error recovered ***
Error: cannot open file "DllImport.h"  (tmpfile):2:
*** Interpreter error recovered ***

Normally it's because you use the --prefix=dirname but without set the ROOTSYS environment first.

1 comment: