<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 size="1" face="Consolas"><font size="1" face="Consolas">
<p>LINK : fatal error LNK1181: cannot open input file &#39;gdcmMSFF.lib&#39;</p>
<p></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 lang="ES" vlink="purple" link="blue">
<div>
<p class="MsoNormal"><span style="FONT-FAMILY:&#39;Calibri&#39;,&#39;sans-serif&#39;;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? <u></u><u></u></span></p>

<p class="MsoNormal"><span style="FONT-FAMILY:&#39;Calibri&#39;,&#39;sans-serif&#39;;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. <u></u><u></u></span></p>

<p class="MsoNormal"><span style="FONT-FAMILY:&#39;Calibri&#39;,&#39;sans-serif&#39;;COLOR:#1f497d;FONT-SIZE:11pt" lang="EN-US">Sorry I cannot tell you anything else… <u></u><u></u></span></p>
<p class="MsoNormal"><span style="FONT-FAMILY:&#39;Calibri&#39;,&#39;sans-serif&#39;;COLOR:#1f497d;FONT-SIZE:11pt" lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="FONT-FAMILY:&#39;Calibri&#39;,&#39;sans-serif&#39;;COLOR:#1f497d;FONT-SIZE:11pt" lang="EN-US">HTH<u></u><u></u></span></p>
<p class="MsoNormal"><span style="FONT-FAMILY:&#39;Calibri&#39;,&#39;sans-serif&#39;;COLOR:#1f497d;FONT-SIZE:11pt" lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="FONT-FAMILY:&#39;Calibri&#39;,&#39;sans-serif&#39;;COLOR:#1f497d;FONT-SIZE:11pt" lang="EN-US">Alba<u></u><u></u></span></p>
<p class="MsoNormal"><span style="FONT-FAMILY:&#39;Calibri&#39;,&#39;sans-serif&#39;;COLOR:#1f497d;FONT-SIZE:11pt"><u></u> <u></u></span></p>
<table style="WIDTH:60%;BORDER-COLLAPSE:collapse" border="0" cellspacing="0" cellpadding="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" cellspacing="0" cellpadding="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:&#39;Tahoma&#39;,&#39;sans-serif&#39;;COLOR:#1f497d;FONT-SIZE:8pt">Alba Garin Muga</span></b><span style="FONT-FAMILY:&#39;Calibri&#39;,&#39;sans-serif&#39;;COLOR:#1f497d"><u></u><u></u></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:&#39;Tahoma&#39;,&#39;sans-serif&#39;;COLOR:#1f497d;FONT-SIZE:8pt">Computer Science PhD Student</span><span style="COLOR:#1f497d"><u></u><u></u></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:&#39;Tahoma&#39;,&#39;sans-serif&#39;;COLOR:#1f497d;FONT-SIZE:8pt">Applied Mechanics Department</span><span style="COLOR:#1f497d"><u></u><u></u></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:&#39;Tahoma&#39;,&#39;sans-serif&#39;;COLOR:#1f497d;FONT-SIZE:8pt">Paseo Manuel Lardizabal, 15<br>20018 Donostia-San Sebastian. </span><span style="FONT-FAMILY:&#39;Tahoma&#39;,&#39;sans-serif&#39;;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 href="http://www.ceit.es/" target="_blank"><span style="FONT-FAMILY:&#39;Tahoma&#39;,&#39;sans-serif&#39;;COLOR:blue;FONT-SIZE:8pt" lang="EN-US">www.ceit.es</span></a></span><span style="COLOR:#1f497d" lang="EN-US"><u></u><u></u></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:&#39;Tahoma&#39;,&#39;sans-serif&#39;;COLOR:#1f497d;FONT-SIZE:8pt"><img border="0" alt="http://intranet.ceit.es/PlantillasCEIT/ImagenCorporativa/Firmas/firma_ceit.gif" src="cid:image001.gif@01CCECA8.770AA930" width="227" height="120"></span><span style="FONT-FAMILY:&#39;Calibri&#39;,&#39;sans-serif&#39;;COLOR:#1f497d"><u></u><u></u></span></p>
</td></tr>
<tr>
<td style="PADDING-BOTTOM:0cm;PADDING-LEFT:3.75pt;PADDING-RIGHT:0cm;PADDING-TOP:3.75pt" valign="top" colspan="2">
<table style="WIDTH:100%" border="0" cellspacing="0" cellpadding="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:&#39;Calibri&#39;,&#39;sans-serif&#39;;COLOR:#1f497d;FONT-SIZE:11pt"><img border="0" alt="Verde" src="cid:image002.jpg@01CCECA8.770AA930" width="31" height="30"></span><span style="FONT-FAMILY:&#39;Calibri&#39;,&#39;sans-serif&#39;;COLOR:#1f497d"><u></u><u></u></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:&#39;Tahoma&#39;,&#39;sans-serif&#39;;COLOR:#009900;FONT-SIZE:8pt">Antes de imprimir este e-mail piense bien si es necesario hacerlo. </span><span style="FONT-FAMILY:&#39;Tahoma&#39;,&#39;sans-serif&#39;;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:&#39;Tahoma&#39;,&#39;sans-serif&#39;;COLOR:#009900;FONT-SIZE:8pt">We are all responsible for the environment.</span><span style="FONT-FAMILY:&#39;Calibri&#39;,&#39;sans-serif&#39;;COLOR:#1f497d"><u></u><u></u></span></p>
</td></tr></tbody></table></td></tr></tbody></table>
<p class="MsoNormal"><span style="FONT-FAMILY:&#39;Calibri&#39;,&#39;sans-serif&#39;;COLOR:#1f497d;FONT-SIZE:11pt"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="FONT-FAMILY:&#39;Calibri&#39;,&#39;sans-serif&#39;;COLOR:#1f497d;FONT-SIZE:11pt"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="FONT-FAMILY:&#39;Calibri&#39;,&#39;sans-serif&#39;;COLOR:#1f497d;FONT-SIZE:11pt" lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="FONT-FAMILY:&#39;Calibri&#39;,&#39;sans-serif&#39;;COLOR:#1f497d;FONT-SIZE:11pt" lang="EN-US"><u></u> <u></u></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:&#39;Tahoma&#39;,&#39;sans-serif&#39;;FONT-SIZE:10pt" lang="EN-US">From:</span></b><span style="FONT-FAMILY:&#39;Tahoma&#39;,&#39;sans-serif&#39;;FONT-SIZE:10pt" lang="EN-US"> <a href="mailto:insight-users-bounces@itk.org" target="_blank">insight-users-bounces@itk.org</a> [mailto:<a 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 href="mailto:insight-users@itk.org" target="_blank">insight-users@itk.org</a><br><b>Subject:</b> [Insight-users] Reading DICOM private tags<u></u><u></u></span></p>
</div>
<div class="im">
<p class="MsoNormal"><u></u> <u></u></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<u></u><u></u></p></div></div></div></blockquote><br>