<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Hello,<br>
    <br>
    I believe it is a known issue due to cmake variable not correctly
    set :
<a class="moz-txt-link-freetext" href="http://sourceforge.net/tracker/?func=detail&amp;aid=3380038&amp;group_id=137895&amp;atid=739587">http://sourceforge.net/tracker/?func=detail&amp;aid=3380038&amp;group_id=137895&amp;atid=739587</a><br>
    <br>
    there should be a patch provided within comments to overcome this
    issue.<br>
    <br>
    Nicolas<br>
    <br>
    <br>
    On 17/02/12 05:46, Sohan Ranjan wrote:
    <blockquote
cite="mid:CADmCn+6s5VP=c-eHO4VcokYK43goVatZSUTAjuvtasY3khu3Qw@mail.gmail.com"
      type="cite">
      <div>I have the gdcm2.2. When I select the ITK_USE_SYSTEM_GDCM
        while Cmaking ITK4.0, CMake does find the GDCM bin folder
        correctly. However while compiling ITK, I always end up with the
        error </div>
      <div><font face="Consolas" size="1"><font face="Consolas" size="1">
            <p>LINK : fatal error LNK1181: cannot open input file
              'gdcmMSFF.lib'</p>
          </font></font><br>
        although in the GDCM bin, I do see all the libraries (just to be
        overly cautious, I have build all types of libraries,
        release/debug/... of the GDCM).</div>
      <div class="gmail_quote">Sohan</div>
      <div class="gmail_quote"> </div>
      <blockquote style="BORDER-LEFT:#ccc 1px solid;MARGIN:0px 0px 0px
        0.8ex;PADDING-LEFT:1ex" class="gmail_quote">
        <div vlink="purple" link="blue" lang="ES">
          <div>
            <p class="MsoNormal"><span
                style="FONT-FAMILY:'Calibri','sans-serif';COLOR:#1f497d;FONT-SIZE:11pt"
                lang="EN-US">I normally read those tags with GDCM and I
                use ITK and GDCM together without any problem (itk 3.20
                and gdcm 2.0.12). Just in case, have you checked
                “itk_use_system_gdcm”? have you built all of the
                libraries in debug and release? </span></p>
            <p class="MsoNormal"><span
                style="FONT-FAMILY:'Calibri','sans-serif';COLOR:#1f497d;FONT-SIZE:11pt"
                lang="EN-US">For me, PrivateTagsOn and all the ways I
                tried to extract those tags did not work. I recommend
                you gdcm. </span></p>
            <p class="MsoNormal"><span
                style="FONT-FAMILY:'Calibri','sans-serif';COLOR:#1f497d;FONT-SIZE:11pt"
                lang="EN-US">Sorry I cannot tell you anything else… </span></p>
            <p class="MsoNormal"><span
                style="FONT-FAMILY:'Calibri','sans-serif';COLOR:#1f497d;FONT-SIZE:11pt"
                lang="EN-US"> </span></p>
            <p class="MsoNormal"><span
                style="FONT-FAMILY:'Calibri','sans-serif';COLOR:#1f497d;FONT-SIZE:11pt"
                lang="EN-US">HTH</span></p>
            <p class="MsoNormal"><span
                style="FONT-FAMILY:'Calibri','sans-serif';COLOR:#1f497d;FONT-SIZE:11pt"
                lang="EN-US"> </span></p>
            <p class="MsoNormal"><span
                style="FONT-FAMILY:'Calibri','sans-serif';COLOR:#1f497d;FONT-SIZE:11pt"
                lang="EN-US">Alba</span></p>
            <p class="MsoNormal"><span
                style="FONT-FAMILY:'Calibri','sans-serif';COLOR:#1f497d;FONT-SIZE:11pt"> </span></p>
            <table style="WIDTH:60%;BORDER-COLLAPSE:collapse" border="0"
              cellpadding="0" cellspacing="0" width="60%">
              <tbody>
                <tr>
                  <td
style="PADDING-BOTTOM:0cm;PADDING-LEFT:3.75pt;WIDTH:195pt;PADDING-RIGHT:0cm;PADDING-TOP:3.75pt"
                    valign="top" width="260">
                    <table style="WIDTH:100%" border="0" cellpadding="0"
                      cellspacing="0" width="100%">
                      <tbody>
                        <tr>
                          <td
style="PADDING-BOTTOM:0cm;PADDING-LEFT:0cm;PADDING-RIGHT:0cm;PADDING-TOP:0cm">
                            <p class="MsoNormal"><b><span
                                  style="FONT-FAMILY:'Tahoma','sans-serif';COLOR:#1f497d;FONT-SIZE:8pt">Alba
                                  Garin Muga</span></b><span
                                style="FONT-FAMILY:'Calibri','sans-serif';COLOR:#1f497d"></span></p>
                          </td>
                        </tr>
                        <tr>
                          <td
style="PADDING-BOTTOM:0cm;PADDING-LEFT:0cm;PADDING-RIGHT:0cm;PADDING-TOP:0cm">
                            <p class="MsoNormal"><span
                                style="FONT-FAMILY:'Tahoma','sans-serif';COLOR:#1f497d;FONT-SIZE:8pt">Computer
                                Science PhD Student</span><span
                                style="COLOR:#1f497d"></span></p>
                          </td>
                        </tr>
                        <tr>
                          <td
style="PADDING-BOTTOM:0cm;PADDING-LEFT:0cm;PADDING-RIGHT:0cm;PADDING-TOP:0cm">
                            <p class="MsoNormal"><span
                                style="FONT-FAMILY:'Tahoma','sans-serif';COLOR:#1f497d;FONT-SIZE:8pt">Applied
                                Mechanics Department</span><span
                                style="COLOR:#1f497d"></span></p>
                          </td>
                        </tr>
                        <tr>
                          <td
style="PADDING-BOTTOM:0cm;PADDING-LEFT:0cm;PADDING-RIGHT:0cm;PADDING-TOP:0cm">
                            <p style="MARGIN-TOP:6pt" class="MsoNormal"><span
style="FONT-FAMILY:'Tahoma','sans-serif';COLOR:#1f497d;FONT-SIZE:8pt">Paseo
                                Manuel Lardizabal, 15<br>
                                20018 Donostia-San Sebastian. </span><span
style="FONT-FAMILY:'Tahoma','sans-serif';COLOR:#1f497d;FONT-SIZE:8pt"
                                lang="EN-US">Spain<br>
                                Tel.  +34 943 212 800  (Ext. 2111)<br>
                                Fax: +34 943 213 076<br>
                                Web: </span><span style="COLOR:#1f497d"><a
                                  moz-do-not-send="true"
                                  href="http://www.ceit.es/"
                                  target="_blank"><span
                                    style="FONT-FAMILY:'Tahoma','sans-serif';COLOR:blue;FONT-SIZE:8pt"
                                    lang="EN-US">www.ceit.es</span></a></span><span
                                style="COLOR:#1f497d" lang="EN-US"></span></p>
                          </td>
                        </tr>
                      </tbody>
                    </table>
                  </td>
                  <td
style="PADDING-BOTTOM:0cm;PADDING-LEFT:0cm;WIDTH:494.25pt;PADDING-RIGHT:0cm;PADDING-TOP:0cm"
                    valign="top" width="659">
                    <p class="MsoNormal"><span
                        style="FONT-FAMILY:'Tahoma','sans-serif';COLOR:#1f497d;FONT-SIZE:8pt"><img
alt="http://intranet.ceit.es/PlantillasCEIT/ImagenCorporativa/Firmas/firma_ceit.gif"
                          src="cid:part2.01090708.00040802@kcl.ac.uk"
                          height="120" border="0" width="227"></span><span
style="FONT-FAMILY:'Calibri','sans-serif';COLOR:#1f497d"></span></p>
                  </td>
                </tr>
                <tr>
                  <td
style="PADDING-BOTTOM:0cm;PADDING-LEFT:3.75pt;PADDING-RIGHT:0cm;PADDING-TOP:3.75pt"
                    colspan="2" valign="top">
                    <table style="WIDTH:100%" border="0" cellpadding="0"
                      cellspacing="0" width="100%">
                      <tbody>
                        <tr>
                          <td
style="PADDING-BOTTOM:0cm;PADDING-LEFT:0cm;WIDTH:4%;PADDING-RIGHT:0cm;PADDING-TOP:0cm"
                            valign="top" width="4%">
                            <p class="MsoNormal"><span
                                style="FONT-FAMILY:'Calibri','sans-serif';COLOR:#1f497d;FONT-SIZE:11pt"><img
                                  alt="Verde"
                                  src="cid:part3.08070806.09030508@kcl.ac.uk"
                                  height="30" border="0" width="31"></span><span
style="FONT-FAMILY:'Calibri','sans-serif';COLOR:#1f497d"></span></p>
                          </td>
                          <td
style="PADDING-BOTTOM:0cm;PADDING-LEFT:0cm;WIDTH:96%;PADDING-RIGHT:0cm;PADDING-TOP:0cm"
                            width="96%">
                            <p class="MsoNormal"><span
                                style="FONT-FAMILY:'Tahoma','sans-serif';COLOR:#009900;FONT-SIZE:8pt">Antes
                                de imprimir este e-mail piense bien si
                                es necesario hacerlo. </span><span
                                style="FONT-FAMILY:'Tahoma','sans-serif';COLOR:#009900;FONT-SIZE:8pt"
                                lang="EN-US">El medioambiente es cosa de
                                todos.<br>
                                Before printing this e-mail ask yourself
                                if you really need a hard copy. </span><span
style="FONT-FAMILY:'Tahoma','sans-serif';COLOR:#009900;FONT-SIZE:8pt">We
                                are all responsible for the environment.</span><span
style="FONT-FAMILY:'Calibri','sans-serif';COLOR:#1f497d"></span></p>
                          </td>
                        </tr>
                      </tbody>
                    </table>
                  </td>
                </tr>
              </tbody>
            </table>
            <p class="MsoNormal"><span
                style="FONT-FAMILY:'Calibri','sans-serif';COLOR:#1f497d;FONT-SIZE:11pt"> </span></p>
            <p class="MsoNormal"><span
                style="FONT-FAMILY:'Calibri','sans-serif';COLOR:#1f497d;FONT-SIZE:11pt"> </span></p>
            <p class="MsoNormal"><span
                style="FONT-FAMILY:'Calibri','sans-serif';COLOR:#1f497d;FONT-SIZE:11pt"
                lang="EN-US"> </span></p>
            <p class="MsoNormal"><span
                style="FONT-FAMILY:'Calibri','sans-serif';COLOR:#1f497d;FONT-SIZE:11pt"
                lang="EN-US"> </span></p>
            <div style="BORDER-BOTTOM:medium none;BORDER-LEFT:medium
              none;PADDING-BOTTOM:0cm;PADDING-LEFT:0cm;PADDING-RIGHT:0cm;BORDER-TOP:#b5c4df
              1pt solid;BORDER-RIGHT:medium none;PADDING-TOP:3pt">
              <p class="MsoNormal"><b><span
                    style="FONT-FAMILY:'Tahoma','sans-serif';FONT-SIZE:10pt"
                    lang="EN-US">From:</span></b><span
                  style="FONT-FAMILY:'Tahoma','sans-serif';FONT-SIZE:10pt"
                  lang="EN-US"> <a moz-do-not-send="true"
                    href="mailto:insight-users-bounces@itk.org"
                    target="_blank">insight-users-bounces@itk.org</a>
                  [mailto:<a moz-do-not-send="true"
                    href="mailto:insight-users-bounces@itk.org"
                    target="_blank">insight-users-bounces@itk.org</a>] <b>On
                    Behalf Of </b>Sohan Ranjan<br>
                  <b>Sent:</b> jueves, 16 de febrero de 2012 12:19<br>
                  <b>To:</b> <a moz-do-not-send="true"
                    href="mailto:insight-users@itk.org" target="_blank">insight-users@itk.org</a><br>
                  <b>Subject:</b> [Insight-users] Reading DICOM private
                  tags</span></p>
            </div>
            <div class="im">
              <p class="MsoNormal"> </p>
              <p>Does someone have an example code for reading DICOM
                private tags using ITK-4.0 (GDCM)? I have DICOM files
                from which all the DICOM tags, including private tags,
                are read by utility program such as the gdcmdump which
                comes along with GDCM. However the example code of ITK,
                DicomImageReadPrintTags does only print the general
                tags, and I do not know how to make it print the private
                tags? The default for the IOobject is PrivateTagsOn(),
                still I tried putting it explicitly, but that didn’t
                help either. Also, I am using ITK4.0, and it has issues
                including system GDCM. The CMake does find the GDCM
                built folder, but at link time, it fails to find
                libraries.<br>
                 <br>
                Sohan</p>
            </div>
          </div>
        </div>
      </blockquote>
      <br>
    </blockquote>
  </body>
</html>