I’ve been running ROOT by using the XCode IDE with the ROOT libraries added. Currently, I am trying to create a new TApplication. My main function is
int main(int argc, char** argv) {
…
}
Inside the main, I have
TApplication* apple = new TApplication(“apple”, &argc, argv);
I am fairly sure (but not certain) that I have the right library included, since the program recognizes the class TApplication, but whenever I try to run the code I receive the error EXC_BAD_ACCESS when I hit that line. Does anyone know what the problem is? Have I forgotten some crucial library, or something else?