How to specify the include path for root script

In case I need the #include directive for my script how can I specify the include path
(-I for g++ is ?? as -L for g++ is `R__ADD_LIBRARY_PATH() )

ROOT Version: Not Provided
Platform: Not Provided
Compiler: Not Provided

Try gSystem->AddIncludePath("/your/path");


I am looking for a relative of R__ADD_LIBRARY_PATH()

There is also a function called R__ADD_INCLUDE_PATH() which I think is what you are looking for.
To be 100% correct both are not real functions but compiler macros declared at the bottom of Rtypes.h

1 Like

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