]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - STEER/PROOF-INF.STEERBase/SETUP.C
Fix for bug#78633
[u/mrichter/AliRoot.git] / STEER / PROOF-INF.STEERBase / SETUP.C
index ebcf747f89ad0fc792ab36cb8152dbc1c2b2f1e7..6cf2d45fe58b4fc2371373a20a90e9d9970921ed 100644 (file)
@@ -1,11 +1,18 @@
 void SETUP()
 {
-   // Load the STEERBase library
+   // Load some Root libraries needed by STEERBase
    gSystem->Load("libVMC");
+   gSystem->Load("libNet");
+   gSystem->Load("libTree");
+   gSystem->Load("libPhysics");
+
+   // Load the STEERBase library
+   TString dypath = gSystem->GetDynamicPath();
+   dypath.Prepend(".:");
+   gSystem->SetDynamicPath(dypath);
    gSystem->Load("libSTEERBase");
 
-   // Set the Inlucde paths
-   gSystem->SetIncludePath("-I$ROOTSYS/include -ISTEERBase");
+   // Set the include paths
    gROOT->ProcessLine(".include STEERBase");
 
    // Set our location, so that other packages can find us