[Insight-users] request: Errors when I builded StreamedWatershedSegmentation                       

ming wang bk030240129 at yahoo.com.cn
Tue Sep 18 10:17:27 EDT 2007


Hi 
I am puzzeled about my building errors.
I use VC++ 6.0
I have successfuly  builded  Curves2DExtractor and ThinPlateSplines and, I have gained Curves2DExtractor.exe and 
ThinPlateSplines.exe  , however, when I tried to build StreamedWatershedSegmentation,



I get the mistakes below:
Compiling...
itkEquivalenceRelabelerApp.cxx
D:\ITK\InsightToolkit-3.2.0\Code\Common\itkOffset.h(185) : warning C4200: nonstandard extension used : zero-sized array in struct/union
        D:\ITK\InsightToolkit-3.2.0\Code\Common\itkIndex.h(83) : see reference to class template instantiation 'itk::Offset<0>' being compiled
        D:\ITK\InsightToolkit-3.2.0\Code\Common\itkImageRegion.h(78) : see reference to class template instantiation 'itk::Index<0>' being compiled
        C:\ITK\StreamedWatershedSegmentation\itkSWSRawFileReader.h(65) : see reference to class template instantiation 'itk::ImageRegion<0>' being compiled
        C:\ITK\StreamedWatershedSegmentation\itkSWSRawFileReader.h(90) : see reference to class template instantiation 'itk::sws::RawFileReader<TOutputImage>' being compiled
D:\ITK\InsightToolkit-3.2.0\Code\Common\itkIndex.h(260) : warning C4200: nonstandard extension used : zero-sized array in struct/union
        D:\ITK\InsightToolkit-3.2.0\Code\Common\itkImageRegion.h(78) : see reference to class template instantiation 'itk::Index<0>' being compiled
        C:\ITK\StreamedWatershedSegmentation\itkSWSRawFileReader.h(65) : see reference to class template instantiation 'itk::ImageRegion<0>' being compiled
        C:\ITK\StreamedWatershedSegmentation\itkSWSRawFileReader.h(90) : see reference to class template instantiation 'itk::sws::RawFileReader<TOutputImage>' being compiled
D:\ITK\InsightToolkit-3.2.0\Code\Common\itkSize.h(189) : warning C4200: nonstandard extension used : zero-sized array in struct/union
        D:\ITK\InsightToolkit-3.2.0\Code\Common\itkImageRegion.h(82) : see reference to class template instantiation 'itk::Size<0>' being compiled
        C:\ITK\StreamedWatershedSegmentation\itkSWSRawFileReader.h(65) : see reference to class template instantiation 'itk::ImageRegion<0>' being compiled
        C:\ITK\StreamedWatershedSegmentation\itkSWSRawFileReader.h(90) : see reference to class template instantiation 'itk::sws::RawFileReader<TOutputImage>' being compiled
D:\ITK\InsightToolkit-3.2.0\Code\Common\itkImageRegion.h(264) : error C2229: class 'itk::ImageRegion<0>' has an illegal zero-sized array
        C:\ITK\StreamedWatershedSegmentation\itkSWSRawFileReader.h(65) : see reference to class template instantiation 'itk::ImageRegion<0>' being compiled
        C:\ITK\StreamedWatershedSegmentation\itkSWSRawFileReader.h(90) : see reference to class template instantiation 'itk::sws::RawFileReader<TOutputImage>' being compiled
D:\ITK\InsightToolkit-3.2.0\Code\Common\itkImageToImageFilterDetail.h(312) : error C2061: syntax error : identifier 'ImageRegion'
        D:\ITK\InsightToolkit-3.2.0\Code\Common\itkImageToImageFilterDetail.h(321) : see reference to class template instantiation 'ImageToImageFilterDetail::ImageRegionCopier<D1,D2>' being compiled
D:\ITK\InsightToolkit-3.2.0\Code\Common\itkImageToImageFilterDetail.h(345) : fatal error C1506: unrecoverable block scoping error
Error executing cl.exe.
ALL_BUILD - 3 error(s), 3 warning(s)


Has anyone a idea how I can solve this issue?

Thanks!!


      ___________________________________________________________ 
雅虎邮箱,以安全著称,是值得信赖的邮箱专家! 
http://mail.yahoo.com.cn/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://public.kitware.com/pipermail/insight-users/attachments/20070918/2a374458/attachment.htm


More information about the Insight-users mailing list