<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p>Dear Beni,</p>
    <p>The cling compiler, which is used since root version 6 for
      macros, has to know about the DSelector library. It is not enough
      to load it inside the macro (gROOT->ProcessLine(".x
      Load_DSelector.C").</p>
    <p>If you add the following line to the header section of your
      macro, besides the #include statements, it will work:</p>
    <p>R__LOAD_LIBRARY(libDSelector)</p>
    <p>Cheers,</p>
    <p>Alex<br>
    </p>
    <p><br>
    </p>
    <div class="moz-cite-prefix">On 12/9/2020 7:07 AM, zihlmann wrote:<br>
    </div>
    <blockquote type="cite"
      cite="mid:0df6fe9f-f6f0-254b-0996-10190841f8ac@jlab.org">
      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
      <font size="+1"><tt>Hi All,<br>
          I have a weird issue. When trying to use proof with the
          DSelector the command<br>
          DPROOFLiteManager *dproof = new DPROOFLiteManager();<br>
          works perfectly when using it directly in an active root
          session.<br>
          However if I use the same line in a root script it does not
          work and gives me<br>
          the error that DPROOFLightManager is not defined.<br>
          <br>
          any idea what is going on here?<br>
          <br>
          Beni<br>
        </tt></font> <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <pre class="moz-quote-pre" wrap="">_______________________________________________
Halld-offline mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Halld-offline@jlab.org">Halld-offline@jlab.org</a>
<a class="moz-txt-link-freetext" href="https://mailman.jlab.org/mailman/listinfo/halld-offline">https://mailman.jlab.org/mailman/listinfo/halld-offline</a></pre>
    </blockquote>
  </body>
</html>