> Hi Dario,
>
> this I know. But this command seems to load only one library. Is there
> something like:
> root[] gSystem->LoadListOfLibs("-L/path_to_libs -lApp1 -lApp2 -lApp3");
Yes, it does exist. Here you are ;-)
{
TString lPath = gSystem->GetDynamicPath();
lPath+= ":path_to_libs";
gSystem->SetDynamicPath((const char*)lPath);
const char *libs[] = { "App1", "App2", "App3" };
for (int i = 0; i < sizeof(libs)/sizeof(char *); i++)
printf(" Loading %s %d\n", libs[i], gSystem->Load(libs[i]));
}
Hope this helps
Valeri Fine
This archive was generated by hypermail 2.2.0 : Tue Mar 11 2008 - 11:50:01 CET