<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman, new york, times, serif;font-size:12pt"><P>Hi </P>
<P>I am puzzeled about my building errors.</P>
<P>I use VC++ 6.0</P>
<P>I have successfuly builded Curves2DExtractor and ThinPlateSplines and, I have gained Curves2DExtractor.exe and </P>
<P>ThinPlateSplines.exe , however, when I tried to build StreamedWatershedSegmentation,</P>
<P> </P>
<P> </P>
<P> </P>
<P>I get the mistakes below:</P>
<P>Compiling...<BR>itkEquivalenceRelabelerApp.cxx<BR>D:\ITK\InsightToolkit-3.2.0\Code\Common\itkOffset.h(185) : warning C4200: nonstandard extension used : zero-sized array in struct/union<BR> D:\ITK\InsightToolkit-3.2.0\Code\Common\itkIndex.h(83) : see reference to class template instantiation 'itk::Offset<0>' being compiled<BR> D:\ITK\InsightToolkit-3.2.0\Code\Common\itkImageRegion.h(78) : see reference to class template instantiation 'itk::Index<0>' being compiled<BR> C:\ITK\StreamedWatershedSegmentation\itkSWSRawFileReader.h(65) : see reference to class template instantiation 'itk::ImageRegion<0>' being compiled<BR> C:\ITK\StreamedWatershedSegmentation\itkSWSRawFileReader.h(90) : see reference to class template instantiation
'itk::sws::RawFileReader<TOutputImage>' being compiled<BR>D:\ITK\InsightToolkit-3.2.0\Code\Common\itkIndex.h(260) : warning C4200: nonstandard extension used : zero-sized array in struct/union<BR> D:\ITK\InsightToolkit-3.2.0\Code\Common\itkImageRegion.h(78) : see reference to class template instantiation 'itk::Index<0>' being compiled<BR> C:\ITK\StreamedWatershedSegmentation\itkSWSRawFileReader.h(65) : see reference to class template instantiation 'itk::ImageRegion<0>' being compiled<BR> C:\ITK\StreamedWatershedSegmentation\itkSWSRawFileReader.h(90) : see reference to class template instantiation 'itk::sws::RawFileReader<TOutputImage>' being compiled<BR>D:\ITK\InsightToolkit-3.2.0\Code\Common\itkSize.h(189) : warning C4200: nonstandard extension used : zero-sized array in
struct/union<BR> D:\ITK\InsightToolkit-3.2.0\Code\Common\itkImageRegion.h(82) : see reference to class template instantiation 'itk::Size<0>' being compiled<BR> C:\ITK\StreamedWatershedSegmentation\itkSWSRawFileReader.h(65) : see reference to class template instantiation 'itk::ImageRegion<0>' being compiled<BR> C:\ITK\StreamedWatershedSegmentation\itkSWSRawFileReader.h(90) : see reference to class template instantiation 'itk::sws::RawFileReader<TOutputImage>' being compiled<BR>D:\ITK\InsightToolkit-3.2.0\Code\Common\itkImageRegion.h(264) : error C2229: class 'itk::ImageRegion<0>' has an illegal zero-sized array<BR> C:\ITK\StreamedWatershedSegmentation\itkSWSRawFileReader.h(65) : see reference to class template instantiation 'itk::ImageRegion<0>' being
compiled<BR> C:\ITK\StreamedWatershedSegmentation\itkSWSRawFileReader.h(90) : see reference to class template instantiation 'itk::sws::RawFileReader<TOutputImage>' being compiled<BR>D:\ITK\InsightToolkit-3.2.0\Code\Common\itkImageToImageFilterDetail.h(312) : error C2061: syntax error : identifier 'ImageRegion'<BR> D:\ITK\InsightToolkit-3.2.0\Code\Common\itkImageToImageFilterDetail.h(321) : see reference to class template instantiation 'ImageToImageFilterDetail::ImageRegionCopier<D1,D2>' being compiled<BR>D:\ITK\InsightToolkit-3.2.0\Code\Common\itkImageToImageFilterDetail.h(345) : fatal error C1506: unrecoverable block scoping error<BR>Error executing cl.exe.</P>
<P>ALL_BUILD - 3 error(s), 3 warning(s)</P>
<P> </P>
<P> </P>
<P>Has anyone a idea how I can solve this issue?<BR></P>
<P>Thanks!!<IMG src="http://mail.yimg.com/us.yimg.com/i/mesg/tsmileys2/04.gif"></P>
<P> </P>
<P> </P></div><br>
<hr size=1><a href="http://mail.yahoo.com.cn/?id=89034" target=blank>
雅虎免费邮箱,全球第一邮箱品牌!</a></body></html>