<div dir="ltr">Hi Folks, <div><br></div><div style>I just updated my original topic with a fix: <a href="https://github.com/jcfr/CTK/compare/update-find-dcmtk-to-support-no-module">https://github.com/jcfr/CTK/compare/update-find-dcmtk-to-support-no-module</a></div>

<div style><br></div><div style>Will touch base with Kent (who originally updated FindDCMTK.cmake) and check if it still work as expected for Slicer.</div><div style><br></div><div style>Stay tuned, </div><div style>Jc</div>

</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Sun, May 19, 2013 at 11:51 PM, Marco Nolden <span dir="ltr">&lt;<a href="mailto:m.nolden@dkfz-heidelberg.de" target="_blank">m.nolden@dkfz-heidelberg.de</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  
    
  
  <div text="#000000" bgcolor="#FFFFFF">
    <div>I can confirm the same error for a
      clean build on Windows 7 64bit with MSVC 2010. Current master, all
      defaults, just CTK_APP_ctkDICOM turned on. It can also be seen on
      the dashboard. <br>
      <br>
      The workaround worked as well for me. I guess the latest change to
      FindDCMTK.cmake [1] has to be revised.<br>
      <br>
      Marco<br>
      <br>
      [1]:
<a href="https://github.com/commontk/CTK/commit/52d9539f5e76149f3d3e7a69f19181dfd7e3dc56" target="_blank">https://github.com/commontk/CTK/commit/52d9539f5e76149f3d3e7a69f19181dfd7e3dc56</a><br>
      <br>
      Am 08.05.2013 20:19, schrieb Steve Pieper:<br>
    </div><div><div class="h5">
    <blockquote type="cite">
      <div dir="ltr">Hi Xenios - 
        <div><br>
        </div>
        <div>Yes, there&#39;s been a lot of work in the past
          several months to improve the cmake infrastructure of DMCTK --
          a key issue is making the installed packages discoverable, so
          the DCMTKConfig.cmake is findable by the FindDCMTK.cmake.
           There&#39;s been a long history of different packages (ITK, etc)
          providing one (or more!) custom FindDCMTK.cmake files in their
          distributions.  There&#39;s been some discussion on the slicer and
          itk mailing lists [1].  So in a nutshell, it looks like ctk
          found that you had a DCMTK installed, but couldn&#39;t recognize
          the variables in it.</div>
        <div><br>
        </div>
        <div>-Steve</div>
        <div><br>
        </div>
        <div>[1] <a href="http://www.itk.org/pipermail/insight-developers/2013-January/022414.html" target="_blank">http://www.itk.org/pipermail/insight-developers/2013-January/022414.html</a><br>
        </div>
      </div>
      <div class="gmail_extra"><br>
        <br>
        <div class="gmail_quote">On Wed, May 8, 2013 at 1:18 PM,
          Papademetris, Xenophon <span dir="ltr">&lt;<a href="mailto:xenophon.papademetris@yale.edu" target="_blank">xenophon.papademetris@yale.edu</a>&gt;</span>
          wrote:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
            <div link="blue" vlink="purple" lang="EN-US">
              <div>
                <p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">To
                    follow up:</span></p>
                <p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"> </span></p>
                <p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">I
                    got the build to work by commenting out the
                    following lines in FindDCMTK.cmake and setting
                    DCMTK_DIR to point to
                    ${BUILD}/CMakeExternals/Install</span></p>
                <p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"> </span></p>
                <p class="MsoNormal" style="text-autospace:none"><span>+#find_package(DCMTK ${_DCMTK_REQUIRED}
                    ${_DCMTK_QUIET} NO_MODULE)</span></p>
                <p class="MsoNormal" style="text-autospace:none"><span>+#if(DCMTK_FOUND</span></p>
                <p class="MsoNormal" style="text-autospace:none"><span>+#    AND NOT &quot;x&quot; STREQUAL
                    &quot;x${DCMTK_LIBRARIES}&quot;</span></p>
                <p class="MsoNormal" style="text-autospace:none"><span>+#    AND NOT &quot;x&quot; STREQUAL
                    &quot;x${DCMTK_INCLUDE_DIRS}&quot;)</span></p>
                <p class="MsoNormal" style="text-autospace:none"><span>+#  return()</span></p>
                <p class="MsoNormal" style="text-autospace:none"><span>+#endif()</span></p>
                <p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"> </span></p>
                <p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">Xenios</span></p>
                <p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"> </span></p>
                <div>
                  <div style="border:none;border-top:solid #b5c4df 1.0pt;padding:3.0pt 0in 0in 0in">
                    <p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;">From:</span></b><span style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;">
                        <a href="mailto:ctk-developers-bounces@commontk.org" target="_blank">ctk-developers-bounces@commontk.org</a>
                        [mailto:<a href="mailto:ctk-developers-bounces@commontk.org" target="_blank">ctk-developers-bounces@commontk.org</a>]
                        <b>On Behalf Of </b>Papademetris, Xenophon<br>
                        <b>Sent:</b> Wednesday, May 08, 2013 11:39 AM<br>
                        <b>To:</b> CTK Developers Mailing List (<a href="mailto:ctk-developers@commontk.org" target="_blank">ctk-developers@commontk.org</a>)<br>
                        <b>Subject:</b> [Ctk-developers] Build Error</span></p>
                  </div>
                </div>
                <div>
                  <div>
                    <p class="MsoNormal"> </p>
                    <div>
                      <p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">Back
                          to simpler stuff after the whole scheduling
                          issue.</span></p>
                      <p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"> </span></p>
                      <p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">I
                          am getting started with CTK and I am running
                          into a build issue. I am on a “fresh” Debian 7
                          64-bit Virtual Machine. (See the attached
                          screenshot and CMakeCache.txt files).
                          Basically FindDCMTK.cmake fails to find DCMTK.</span></p>
                      <p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"> </span></p>
                      <p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">Any
                          help appreciated.</span></p>
                      <p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"> </span></p>
                      <p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">Xenios</span></p>
                      <p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"> </span></p>
                      <p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"> </span></p>
                      <p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"><img src="cid:part6.06060908.05080105@dkfz-heidelberg.de" height="293" width="426"></span></p>


                    </div>
                  </div>
                </div>
              </div>
            </div>
            <br>
            _______________________________________________<br>
            Ctk-developers mailing list<br>
            <a href="mailto:Ctk-developers@commontk.org" target="_blank">Ctk-developers@commontk.org</a><br>
            <a href="http://public.kitware.com/cgi-bin/mailman/listinfo/ctk-developers" target="_blank">http://public.kitware.com/cgi-bin/mailman/listinfo/ctk-developers</a><br>
            <br>
          </blockquote>
        </div>
        <br>
      </div>
    </blockquote>
    <br>
  </div></div></div>

<br>_______________________________________________<br>
Ctk-developers mailing list<br>
<a href="mailto:Ctk-developers@commontk.org">Ctk-developers@commontk.org</a><br>
<a href="http://public.kitware.com/cgi-bin/mailman/listinfo/ctk-developers" target="_blank">http://public.kitware.com/cgi-bin/mailman/listinfo/ctk-developers</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br>+1 919 869 8849<br>
</div>