Try the R__LOAD_LIBRARY macro:
R__LOAD_LIBRARY(libMyLibrary)
Int_t myMacro( ) {
// your code here
}
See older threads, for example Shared libraries and ROOT-6
Try the R__LOAD_LIBRARY macro:
R__LOAD_LIBRARY(libMyLibrary)
Int_t myMacro( ) {
// your code here
}
See older threads, for example Shared libraries and ROOT-6