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
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");
https://root.cern.ch/doc/master/classTSystem.html#a2b8939237273d0e426a00adb3c612916
//Max
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
https://root.cern.ch/doc/v606/Rtypes_8h_source.html
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.