<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&nbsp; builded&nbsp; Curves2DExtractor and ThinPlateSplines and, I have gained Curves2DExtractor.exe and </P>
<P>ThinPlateSplines.exe&nbsp; , however, when I tried to build StreamedWatershedSegmentation,</P>
<P>&nbsp;</P>
<P>&nbsp;</P>
<P>&nbsp;</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>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; D:\ITK\InsightToolkit-3.2.0\Code\Common\itkIndex.h(83) : see reference to class template instantiation 'itk::Offset&lt;0&gt;' being compiled<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; D:\ITK\InsightToolkit-3.2.0\Code\Common\itkImageRegion.h(78) : see reference to class template instantiation 'itk::Index&lt;0&gt;' being compiled<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; C:\ITK\StreamedWatershedSegmentation\itkSWSRawFileReader.h(65) : see reference to class template instantiation 'itk::ImageRegion&lt;0&gt;' being compiled<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; C:\ITK\StreamedWatershedSegmentation\itkSWSRawFileReader.h(90) : see reference to class template instantiation
 'itk::sws::RawFileReader&lt;TOutputImage&gt;' 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>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; D:\ITK\InsightToolkit-3.2.0\Code\Common\itkImageRegion.h(78) : see reference to class template instantiation 'itk::Index&lt;0&gt;' being compiled<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; C:\ITK\StreamedWatershedSegmentation\itkSWSRawFileReader.h(65) : see reference to class template instantiation 'itk::ImageRegion&lt;0&gt;' being compiled<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; C:\ITK\StreamedWatershedSegmentation\itkSWSRawFileReader.h(90) : see reference to class template instantiation 'itk::sws::RawFileReader&lt;TOutputImage&gt;' 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>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; D:\ITK\InsightToolkit-3.2.0\Code\Common\itkImageRegion.h(82) : see reference to class template instantiation 'itk::Size&lt;0&gt;' being compiled<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; C:\ITK\StreamedWatershedSegmentation\itkSWSRawFileReader.h(65) : see reference to class template instantiation 'itk::ImageRegion&lt;0&gt;' being compiled<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; C:\ITK\StreamedWatershedSegmentation\itkSWSRawFileReader.h(90) : see reference to class template instantiation 'itk::sws::RawFileReader&lt;TOutputImage&gt;' being compiled<BR>D:\ITK\InsightToolkit-3.2.0\Code\Common\itkImageRegion.h(264) : error C2229: class 'itk::ImageRegion&lt;0&gt;' has an illegal zero-sized array<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; C:\ITK\StreamedWatershedSegmentation\itkSWSRawFileReader.h(65) : see reference to class template instantiation 'itk::ImageRegion&lt;0&gt;' being
 compiled<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; C:\ITK\StreamedWatershedSegmentation\itkSWSRawFileReader.h(90) : see reference to class template instantiation 'itk::sws::RawFileReader&lt;TOutputImage&gt;' being compiled<BR>D:\ITK\InsightToolkit-3.2.0\Code\Common\itkImageToImageFilterDetail.h(312) : error C2061: syntax error : identifier 'ImageRegion'<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; D:\ITK\InsightToolkit-3.2.0\Code\Common\itkImageToImageFilterDetail.h(321) : see reference to class template instantiation 'ImageToImageFilterDetail::ImageRegionCopier&lt;D1,D2&gt;' 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>&nbsp;</P>
<P>&nbsp;</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>&nbsp;</P>
<P>&nbsp;</P></div><br>
      <hr size=1><a href="http://mail.yahoo.com.cn/?id=89034" target=blank> 
雅虎免费邮箱,全球第一邮箱品牌!</a></body></html>