[Insight-users] Help

cspl affable at hd2 . dot . net . in
Thu, 30 May 2002 19:05:42 +0530


This is a multi-part message in MIME format.

------=_NextPart_000_003C_01C2080C.FEBF87F0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

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

------=_NextPart_000_003C_01C2080C.FEBF87F0
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 5.50.4134.600" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>Dear Friends,</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>I am a new user of ITK.I want to run a =
simple=20
application using Laplician filter.It is giving errors when I am build=20
EdgeDetection example.The errors are follows.Please give me suggestion =
to=20
overcome this problem.</FONT></DIV>
<DIV>&nbsp;</DIV><FONT face=3DArial size=3D2>
<DIV><BR>ITK\Insight\Code\Common\itkImageRegion.h(193) :<BR>&nbsp;error =
C2229:=20
class 'itk::ImageRegion&lt;0&gt;' has an illegal zero-sized=20
array<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
F:\ITK\Insight\Examples\EdgeDetection\itkSWSRawFileReader.h(95) : see =
reference=20
to class template instantiation 'itk::ImageRegion&lt;0&gt;' being=20
compiled<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
F:\ITK\Insight\Examples\EdgeDetection\itkSWSRawFileReader.h(122) : see =
reference=20
to class template instantiation =
'itk::sws::RawFileReader&lt;TOutputImage&gt;'=20
being compiled<BR>F:\ITK\Insight\CPP\Lap.cpp(39) : error C2065: 'cout' : =

undeclared identifier<BR>F:\ITK\Insight\CPP\Lap.cpp(39) : error C2297:=20
'&lt;&lt;' : illegal, right operand has type 'char=20
[8]'<BR>F:\ITK\Insight\CPP\Lap.cpp(39) : error C2065: 'endl' : =
undeclared=20
identifier<BR>F:\ITK\Insight\CPP\Lap.cpp(217) : warning C4508: 'main' : =
function=20
should return a value; 'void' return type assumed<BR>Error executing=20
cl.exe.</DIV>
<DIV>&nbsp;</DIV>
<DIV>ALL_BUILD - 4 error(s), 4 warning(s)</DIV>
<DIV>&nbsp;</DIV>
<DIV><BR>Regards,<BR>Ramakrishna</FONT></DIV></BODY></HTML>

------=_NextPart_000_003C_01C2080C.FEBF87F0--