> gROOT->LoadMacro is not intended to load a shared lib. Use instead > gSystem->Load I am loading a "precompiled" macro (in form of a shared library). That's why I was using "gROOT->LoadMacro" (this is the same as doing "root [0] .L /.../MyPrecompiledMacro.so", right ?) The problem is : it breaks on "+" inside of the macro's file name. Most probably it will also break if this is not a shared library, but an ordinary c++ file. Please fix it. (For the time being I am just changing the "MacroPath" adding my "magic" subdirectory with "++" inside and then gROOT->LoadMacro("G4.so") works. The "gSystem->Load" does not seem to have this problem - I don't remember any more why I decided to use "gROOT->LoadMacro" instead of "gSystem->Load" - that was quite a long time ago - most probably I had problems with "gSystem->Load" which disappeared when I used "gROOT->LoadMacro" - and up to now I was happily using it.) Jacek.
This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:51:23 MET