[Insight-users] errors when using "DicomPrintPatientInformation.cxx"

Zhao Liz lizzhao76 at gmail.com
Tue Jan 22 22:11:00 EST 2013


Hi Xlaoaxiao,

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 ITKDICOMParser seems to be included in the IO header
file"#include "itkDICOMImageIO2.h" ".And the lib files added to the Linker
are as below:

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 *ITKDICOMParser.lib* 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

Clearly the *ITKDICOMParser.lib* has been included.The erros  make me
confused because I just compile the example and didn't modify anything.


2013/1/22 Xiaoxiao Liu <xiaoxiao.liu at kitware.com>

> Hi Liz,
>
> Which version of ITK you are testing with?
> Are you compiling the cxx file as a standalone program (outside ITK build
> tree)?
> Looks like your ITK build didn't include the third party lib module
> ITKDICOMParser ( which is required)?
>
> -XIaoaxiao
>
> On Tue, Jan 22, 2013 at 2:29 AM, Zhao Liz <lizzhao76 at gmail.com> wrote:
>
>> DicomPrintPatientInformation
>
>
>
>
>
> --
>
>
> ---------------------------------------------
> *Xiaoxiao Liu*, Ph.D.
> R & D Engineer
> Kitware Inc <http://www.kitware.com/>.
> Clifton Park, NY
> Phone: (518) 881-4924  or  (518) 371-3971 x124
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20130123/b78cf4bf/attachment.htm>


More information about the Insight-users mailing list