[Insight-users] Reading and displaying DICOM series

akbarjan bayiz abayiz at yahoo.com
Thu Feb 10 12:19:32 EST 2011


Thank you all for your precious answers.

Now "ccmake" command works without any error, but when I typed for "make" which should build the target object, it gives me a full screen of error. Is there any mistakes in the "DicomSeriesReadImageWrite2.cxx" file? I have included the "itkImage.h", "itkImageFileReader.h", and "itkImageFileWriter.h" files. 

BTW, I think I have set the relevant Cmake configurations correctly, because I have tried it many times for some other itk codes. 

Wish to receive your precious suggestions again. Thank you! 

--- On Thu, 2/10/11, John Drescher <drescherjm at gmail.com> wrote:

> From: John Drescher <drescherjm at gmail.com>
> Subject: Re: [Insight-users] Reading and displaying DICOM series
> To: "akbarjan bayiz" <abayiz at yahoo.com>, insight-users at itk.org
> Date: Thursday, February 10, 2011, 10:13 AM
> > I believe the error is here:
> >
> > ADD_EXECUTABLE(DicomSeriesReadImageWrite
> DicomSeriesReadImageWrite2.cxx)
> > TARGET_LINK_LIBRARIES(ITKIO ITKNumerics)
> >
> > it should read:
> >
> > ADD_EXECUTABLE(DicomSeriesReadImageWrite
> DicomSeriesReadImageWrite2.cxx)
> > TARGET_LINK_LIBRARIES(DicomSeriesReadImageWrite ITKIO
> ITKNumerics)
> >
> 
> Agreed. The line:
> 
> TARGET_LINK_LIBRARIES(ITKIO ITKNumerics)
> 
> is definitely wrong
> 
> John
> 


      


More information about the Insight-users mailing list