<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div>Hello,</div><div id="AppleMailSignature"><br></div><div id="AppleMailSignature">Look like you need to compile ITK with the option Review to On ...<br><br>David</div><div><br>Le 29 nov. 2016 à 17:16, Triltsch, Nicolas <<a href="mailto:nicolas.triltsch@tum.de">nicolas.triltsch@tum.de</a>> a écrit :<br><br></div><blockquote type="cite"><div>
  
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  
  
    <p>Hey David,</p>
    <p>Okay, pretty cool, thanks!! With Root v5 it works now:) It
      compiles 100% correct with ITK/RTK = OFF. But if I switch them ON,
      I get the following <b>error</b> after 99% of compiling:</p>
    <jiflbpfjmnjodpjf.png><br>
    <br>
    Additionally, I get a <b>warning </b>after 60%:<br>
    <cgbicghjngpnnkio.png> <br>
    <p>Any further ideas? Thanks a lot so far!</p>
    <p>Nico<br>
    </p>
    <br>
    <div class="moz-cite-prefix">On 11/29/2016 05:02 PM, David Boersma
      wrote:<br>
    </div>
    <blockquote cite="mid:ebe85d71-39b2-2a24-1034-5e16e3d7feb6@physics.uu.se" type="cite">Hi Nicolas,
      <br>
      <br>
      Den 29/11/2016 kl. 16:19, skrev Triltsch, Nicolas:
      <br>
      <blockquote type="cite">Hey,
        <br>
        <br>
        if I put both options to OFF, I obtain following errors:
        <br>
        <br>
        Hope someone can help me:)
        <br>
      </blockquote>
      <br>
      That error ("kCanRebin is not a member of TH1") looks like you are
      trying to build Gate 7.2 with ROOT 6.x.y instead of ROOT 5.x.y.
      This has been fixed in the development version (where "fixed"
      means: you can use either ROOT 5 or 6).
      <br>
      <br>
      I *think* (someone please correct me if I'm wrong) that the only
      necessary code change is in
      <br>
      <br>
      source/digits_hits/src/<a href="http://GateSecondaryProductionActor.cc">GateSecondaryProductionActor.cc</a>,
      <br>
      <br>
      where you need to replace this line (line number 61) ...
      <br>
      <br>
      pFrag->SetBit(TH1::kCanRebin);
      <br>
      <br>
      ... by the following blurb:
      <br>
      <br>
      #if ROOT_VERSION_CODE >= ROOT_VERSION(6,0,0)
      <br>
        pFrag->SetCanExtend(TH1::kXaxis); // <--- Root6
      <br>
      #else
      <br>
        pFrag->SetBit(TH1::kCanRebin); // <--- Root5
      <br>
      #endif
      <br>
      <br>
      Alternative solutions:
      <br>
      <br>
      (A) use the development version (with ROOT 6 or ROOT 5)
      <br>
      <br>
      (B) if you really want the GATE v7.2 release, without hacks:
      install ROOT version 5.x.y and make sure that this is the only
      ROOT version that is visible/used in your shell environment
      (during compiling, linking *and* running).
      <br>
      <br>
      Hope that helps,
      <br>
      David Boersma
      <br>
      <br>
      <br>
      <blockquote type="cite">On 11/29/2016 04:06 PM, G Cosme wrote:
        <br>
        <blockquote type="cite">Hi!
          <br>
          <br>
          <br>
          When compiling GATE with ccmake, do you have the options
          <br>
          GATE_DOWNLOAD_BENCHMARK_DATA and GATE_DOWNLOAD_EXAMPLES_DATA
          on or
          <br>
          off? If on, try to compile with both options off.
          <br>
          <br>
          Hope that helps!
          <br>
          Gonçalo
          <br>
          <br>
          2016-11-29 15:03 GMT+00:00 Triltsch, Nicolas
          <<a class="moz-txt-link-abbreviated" href="mailto:nicolas.triltsch@tum.de">nicolas.triltsch@tum.de</a>
          <br>
          <a class="moz-txt-link-rfc2396E" href="mailto:nicolas.triltsch@tum.de"><mailto:nicolas.triltsch@tum.de></a>>:
          <br>
          <br>
              Hey everyone,
          <br>
          <br>
              After having problems with my current gate installation, I
          decided
          <br>
              to reinstall GATE. Therefore I deleted the 3 folders
          /gate_v7.2/,
          <br>
              /gate_v7.2-build/ and /gate_v7.2-install/. I downloaded
          the
          <br>
              gate_v7.2 source code again from
          <br>
             
/<a class="moz-txt-link-freetext" href="http://wiki.opengatecollaboration.org/index.php/Compilation_Instructions_V7.2">http://wiki.opengatecollaboration.org/index.php/Compilation_Instructions_V7.2</a><br>
             
<a class="moz-txt-link-rfc2396E" href="http://wiki.opengatecollaboration.org/index.php/Compilation_Instructions_V7.2"><http://wiki.opengatecollaboration.org/index.php/Compilation_Instructions_V7.2></a>/<br>
              and created new folders /gate_v7.2-build/ and
          /gate_v7.2-install/.
          <br>
              Then I wanted to compile the source code using ccmake, but
          I get
          <br>
              the following error after around 10% of compiling
          progress:
          <br>
          <br>
              "
          <br>
          <br>
              /-- Downloaded object:
          <br>
             
"/usr/local/bin/gate_v7.2-build/ExternalData/Objects/MD5/b809cfe42b1697c39fe95649dede4240"//<br>
              //CMakeFiles/Makefile2:141: recipe for target
          <br>
              'CMakeFiles/GateExampleData.dir/all' failed//
          <br>
              //make[1]: *** [CMakeFiles/GateExampleData.dir/all] Error
          2//
          <br>
              //Makefile:127: recipe for target 'all' failed//
          <br>
              //make: *** [all] Error 2/
          <br>
          <br>
              "
          <br>
          <br>
              Any ideas? I suspect there might be something wrong with
          the
          <br>
              download of the Examples...
          <br>
          <br>
              Thanks!
          <br>
          <br>
          <br>
          <br>
              _______________________________________________
          <br>
              Gate-users mailing list
          <br>
              <a class="moz-txt-link-abbreviated" href="mailto:Gate-users@lists.opengatecollaboration.org">Gate-users@lists.opengatecollaboration.org</a>
          <br>
              <a class="moz-txt-link-rfc2396E" href="mailto:Gate-users@lists.opengatecollaboration.org"><mailto:Gate-users@lists.opengatecollaboration.org></a>
          <br>
             
          <a class="moz-txt-link-freetext" href="http://lists.opengatecollaboration.org/mailman/listinfo/gate-users">http://lists.opengatecollaboration.org/mailman/listinfo/gate-users</a>
          <br>
             
<a class="moz-txt-link-rfc2396E" href="http://lists.opengatecollaboration.org/mailman/listinfo/gate-users"><http://lists.opengatecollaboration.org/mailman/listinfo/gate-users></a><br>
          <br>
          <br>
        </blockquote>
        <br>
        <br>
        <br>
        _______________________________________________
        <br>
        Gate-users mailing list
        <br>
        <a class="moz-txt-link-abbreviated" href="mailto:Gate-users@lists.opengatecollaboration.org">Gate-users@lists.opengatecollaboration.org</a>
        <br>
<a class="moz-txt-link-freetext" href="http://lists.opengatecollaboration.org/mailman/listinfo/gate-users">http://lists.opengatecollaboration.org/mailman/listinfo/gate-users</a>
        <br>
        <br>
      </blockquote>
      _______________________________________________
      <br>
      Gate-users mailing list
      <br>
      <a class="moz-txt-link-abbreviated" href="mailto:Gate-users@lists.opengatecollaboration.org">Gate-users@lists.opengatecollaboration.org</a>
      <br>
      <a class="moz-txt-link-freetext" href="http://lists.opengatecollaboration.org/mailman/listinfo/gate-users">http://lists.opengatecollaboration.org/mailman/listinfo/gate-users</a><br>
    </blockquote>
    <br>
  

</div></blockquote><blockquote type="cite"><div><span>_______________________________________________</span><br><span>Gate-users mailing list</span><br><span><a href="mailto:Gate-users@lists.opengatecollaboration.org">Gate-users@lists.opengatecollaboration.org</a></span><br><span><a href="http://lists.opengatecollaboration.org/mailman/listinfo/gate-users">http://lists.opengatecollaboration.org/mailman/listinfo/gate-users</a></span></div></blockquote></body></html>