<div dir="ltr">Hi Xlaoaxiao,<div><br></div><div>Thanks for your reply.I am using the 3.20.1 version and I compile this example by creating a win32 console application in VS2008 and add it as a cpp file.The <span style="font-family:arial,sans-serif;font-size:18px">ITKDICOMParser</span><font face="arial, sans-serif"> seems to be included in the IO header file"#include "itkDICOMImageIO2.h" ".And the lib files added to the Linker are as below:</font></div>
<div><font face="arial, sans-serif"><br></font></div><div><font face="arial, sans-serif"><div>kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib ITKBasicFilters.lib ITKCommon.lib ITKIO.lib ITKAlgorithms.lib itkgdcm.lib kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib ITKNumerics.lib ITKNrrdIO.lib itkjpeg12.lib itkjpeg16.lib itkopenjpeg.lib snmpapi.lib rpcrt4.lib itkpng.lib itktiff.lib itkjpeg8.lib ITKSpatialObject.lib ITKMetaIO.lib comctl32.lib wsock32.lib <em style="color:rgb(221,75,57);font-style:normal">ITKDICOMParser.lib</em> ITKEXPAT.lib ITKniftiio.lib ITKznz.lib itkzlib.lib itkvnl_inst.lib itkvnl_algo.lib itkvnl.lib itkv3p_netlib.lib itkvcl.lib itksys.lib ws2_32.lib itkgdcm.lib ITKStatistics.lib itkjpeg12.lib itkjpeg16.lib itkopenjpeg.lib snmpapi.lib rpcrt4.lib itkjpeg8.lib ITKCommon.lib wsock32.lib itkvnl_inst.lib itkvnl_algo.lib itkvnl.lib itkv3p_netlib.lib itkvcl.lib itksys.lib ws2_32.lib</div>
<div><br></div><div>Clearly the <em style="color:rgb(221,75,57);font-style:normal">ITKDICOMParser.lib</em> has been included.The erros make me confused because I just compile the example and didn't modify anything.</div>
</font></div><div class="gmail_extra"><br><br><div class="gmail_quote">2013/1/22 Xiaoxiao Liu <span dir="ltr"><<a href="mailto:xiaoxiao.liu@kitware.com" target="_blank">xiaoxiao.liu@kitware.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>Hi Liz, </div><div><br></div>Which version of ITK you are testing with?<div>Are you compiling the cxx file as a standalone program (outside ITK build tree)?</div><div>Looks like your ITK build didn't include the third party lib module ITKDICOMParser ( which is required)? <br>
<div><br></div><div>-XIaoaxiao </div><div><br><div class="gmail_quote">On Tue, Jan 22, 2013 at 2:29 AM, Zhao Liz <span dir="ltr"><<a href="mailto:lizzhao76@gmail.com" target="_blank">lizzhao76@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">DicomPrintPatientInformation</blockquote></div><span><font color="#888888"><br><br><br clear="all"><div>
<br></div>-- <br><div><br></div><div><br></div>
---------------------------------------------<br><b>Xiaoxiao Liu</b>, Ph.D.<div><div><div><font face="arial, sans-serif"><span style="border-collapse:collapse">R & D Engineer</span></font></div><div><div><a href="http://www.kitware.com/" target="_blank">Kitware Inc</a>.</div>
</div><div><span style="border-collapse:collapse;font-family:arial,sans-serif;font-size:13px">Clifton Park, NY</span><div><div>Phone: (518) 881-4924 or <span style="border-collapse:collapse;color:rgb(136,136,136);font-family:arial,sans-serif;font-size:13px">(518) 371-3971 x124</span></div>
<div><font face="Verdana, Arial, Helvetica, sans-serif"><span style="line-height:31px;font-size:x-small"><br></span></font></div></div></div></div></div>
</font></span></div></div>
</blockquote></div><br></div></div>