[Insight-users] Help

Luis Ibanez luis . ibanez at kitware . com
Thu, 30 May 2002 09:46:28 -0400


Hi cspl,

Your multiple messages are a bit confusing.

Are all those errors cumulative ?

or have you solve them progressively
as you reported each one of them ?

Have you installed Service Pack 5 for Visual C++ ?
ITK requires SP5 to be installed.


Please let us know


    Thanks

      Luis

=================================

cspl wrote:
> Dear Friends,
> 
>  
> 
> I am a new user of ITK.I want to run a simple application using 
> Laplician filter.It is giving errors when I am build EdgeDetection 
> example.The errors are follows.Please give me suggestion to overcome 
> this problem.
> 
>  
> 
> 
> ITK\Insight\Code\Common\itkImageRegion.h(193) :
>  error C2229: class 'itk::ImageRegion<0>' has an illegal zero-sized array
>         F:\ITK\Insight\Examples\EdgeDetection\itkSWSRawFileReader.h(95) 
> : see reference to class template instantiation 'itk::ImageRegion<0>' 
> being compiled
>         F:\ITK\Insight\Examples\EdgeDetection\itkSWSRawFileReader.h(122) 
> : see reference to class template instantiation 
> 'itk::sws::RawFileReader<TOutputImage>' being compiled
> F:\ITK\Insight\CPP\Lap.cpp(39) : error C2065: 'cout' : undeclared identifier
> F:\ITK\Insight\CPP\Lap.cpp(39) : error C2297: '<<' : illegal, right 
> operand has type 'char [8]'
> F:\ITK\Insight\CPP\Lap.cpp(39) : error C2065: 'endl' : undeclared identifier
> F:\ITK\Insight\CPP\Lap.cpp(217) : warning C4508: 'main' : function 
> should return a value; 'void' return type assumed
> Error executing cl.exe.
> 
>  
> 
> ALL_BUILD - 4 error(s), 4 warning(s)
> 
>  
> 
> 
> Regards,
> Ramakrishna
>