ROOT Version: 6.18/04 Platform: VSCode Compiler: Terminal System: Mac OSX
I downloaded root, but I’m not sure if I set my .bash~profile correctly. What lines should I have in my .bash~profile in order to make it work correctly? Currently, I have:
Not sure if this is correct. I’m skeptical because when I run a macro with:
#include <iostream>
#include <cmath>
The first line gives two errors, namely "include errors detected. Please update your includePath. Squiggles are disabled for this translation unit (/Users/myname/Documents/root2/macros/f1.C)"
"cannot open source file “iostream”"
The second lines gives the error "cannot open source file “cmath”"
In actuality, I fixed another error that upon fixing, allowed me to run my code. (I moved my files to a place where they would actually be opened by the code). I realize that I didn’t fix my code to solve the original problem. I’m still confused as to what the bash profile exactly does and I don’t know what lines I should put in there.
Anyways, here is how I downloaded root: (for Mac OSX)