Errors while including ROOT header files

Hi, my operating system is MacOS and I’m programming in C++ using Xcode.
I have to include into my program the header files “TFile.c” and “TFH1.c”. I’ve installed ROOT into my pc but when I try to include these header files I get the error message that you can see in the photo, it can’t find them. I’ve searched online for a while for a solution but I can’t find anything, do you have some suggestions?


Hi Luke,

I am not using XCode but following next links can help you to setup your environment properly: or maybe older c++ - Setting up ROOT from Cern in Xcode, linking the librariers correctly - Stack Overflow

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.