[Insight-users] Help

cspl affable at hd2 . dot . net . in
Thu, 30 May 2002 14:30:29 +0530


This is a multi-part message in MIME format.

------=_NextPart_000_0071_01C207E6.8C1034A0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Dear Friends,

I am a new user of itk.I am facing problems to run sample project.If any =
body knows please help me.I compiled total source code and I got lib =
files like FEM.lib ITKBasicFilters.lib ITKCommon.lib ITKIO.lib =
itkpng.lib ITKStatistics.lib itkzlib.lib VXLNumerics.lib.After that I =
have run sample project and copied lib inthat directory and in Tools =
options I have given directory paths of .h files.After that I am getting =
the following errors.How to run examples  which are given source =
code.The errors are following.

itkSampleProject.cxx

1)f:\itk\insight\code\numerics\vxl\vnl\vnl_numeric_traits.h(30) : error =
C2146: syntax error : missing ';' before identifier =
'VCL_STATIC_CONST_INIT_FLOAT'
        f:\itk\insight\code\numerics\vxl\vnl\vnl_numeric_traits.h(35) : =
see reference to class template instantiation 'vnl_numeric_traits<T>' =
being compiled

2)f:\itk\insight\code\numerics\vxl\vnl\vnl_numeric_traits.h(30) : error =
C2059: syntax error : 'constant'
        f:\itk\insight\code\numerics\vxl\vnl\vnl_numeric_traits.h(35) : =
see reference to class template instantiation 'vnl_numeric_traits<T>' =
being compiled

3)f:\itk\insight\code\numerics\vxl\vnl\vnl_numeric_traits.h(31) : error =
C2146: syntax error : missing ';' before identifier =
'VCL_STATIC_CONST_INIT_FLOAT'
        f:\itk\insight\code\numerics\vxl\vnl\vnl_numeric_traits.h(35) : =
see reference to class template instantiation 'vnl_numeric_traits<T>' =
being compiled
4)f:\itk\insight\code\numerics\vxl\vnl\vnl_numeric_traits.h(31) : error =
C2059: syntax error : 'constant'
        f:\itk\insight\code\numerics\vxl\vnl\vnl_numeric_traits.h(35) : =
see reference to class template instantiation 'vnl_numeric_traits<T>' =
being compiled
5)f:\itk\insight\code\numerics\vxl\vnl\vnl_numeric_traits.h(31) : error =
C2535: 'int __thiscall =
vnl_numeric_traits<T>::VCL_STATIC_CONST_INIT_FLOAT(void)' : member =
function already defined or declared
        f:\itk\insight\code\numerics\vxl\vnl\vnl_numeric_traits.h(30) : =
see declaration of 'VCL_STATIC_CONST_INIT_FLOAT'
        f:\itk\insight\code\numerics\vxl\vnl\vnl_numeric_traits.h(35) : =
see reference to class template instantiation 'vnl_numeric_traits<T>' =
being compiled
6)f:\itk\insight\code\numerics\vxl\vnl\vnl_numeric_traits.h(74) : error =
C2143: syntax error : missing ';' before '<class-head>'
7)f:\itk\insight\code\numerics\vxl\vnl\vnl_numeric_traits.h(74) : error =
C2501: 'VCL_DEFINE_SPECIALIZATION' : missing storage-class or type =
specifiers
8)f:\itk\insight\code\numerics\vxl\vnl\vnl_numeric_traits.h(74) : fatal =
error C1004: unexpected end of file found
Error executing cl.exe.


Thanking you,

Regards,
Ramakrishna

------=_NextPart_000_0071_01C207E6.8C1034A0
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 am facing =
problems to run=20
sample project.If any body knows please help me.I compiled total source =
code and=20
I got lib files like FEM.lib ITKBasicFilters.lib ITKCommon.lib ITKIO.lib =

itkpng.lib ITKStatistics.lib itkzlib.lib VXLNumerics.lib.After that I =
have run=20
sample project and copied lib inthat directory and in Tools options I =
have given=20
directory paths of .h files.After that I am getting the following =
errors.How to=20
run examples&nbsp; which are given source code.The errors are=20
following.</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>itkSampleProject.cxx</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial=20
size=3D2>1)f:\itk\insight\code\numerics\vxl\vnl\vnl_numeric_traits.h(30) =
: error=20
C2146: syntax error : missing ';' before identifier=20
'VCL_STATIC_CONST_INIT_FLOAT'<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;=20
f:\itk\insight\code\numerics\vxl\vnl\vnl_numeric_traits.h(35) : see =
reference to=20
class template instantiation 'vnl_numeric_traits&lt;T&gt;' being=20
compiled</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial=20
size=3D2>2)f:\itk\insight\code\numerics\vxl\vnl\vnl_numeric_traits.h(30) =
: error=20
C2059: syntax error : =
'constant'<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
f:\itk\insight\code\numerics\vxl\vnl\vnl_numeric_traits.h(35) : see =
reference to=20
class template instantiation 'vnl_numeric_traits&lt;T&gt;' being=20
compiled</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial=20
size=3D2>3)f:\itk\insight\code\numerics\vxl\vnl\vnl_numeric_traits.h(31) =
: error=20
C2146: syntax error : missing ';' before identifier=20
'VCL_STATIC_CONST_INIT_FLOAT'<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;=20
f:\itk\insight\code\numerics\vxl\vnl\vnl_numeric_traits.h(35) : see =
reference to=20
class template instantiation 'vnl_numeric_traits&lt;T&gt;' being=20
compiled<BR>4)f:\itk\insight\code\numerics\vxl\vnl\vnl_numeric_traits.h(3=
1) :=20
error C2059: syntax error :=20
'constant'<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
f:\itk\insight\code\numerics\vxl\vnl\vnl_numeric_traits.h(35) : see =
reference to=20
class template instantiation 'vnl_numeric_traits&lt;T&gt;' being=20
compiled<BR>5)f:\itk\insight\code\numerics\vxl\vnl\vnl_numeric_traits.h(3=
1) :=20
error C2535: 'int __thiscall=20
vnl_numeric_traits&lt;T&gt;::VCL_STATIC_CONST_INIT_FLOAT(void)' : member =

function already defined or=20
declared<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
f:\itk\insight\code\numerics\vxl\vnl\vnl_numeric_traits.h(30) : see =
declaration=20
of =
'VCL_STATIC_CONST_INIT_FLOAT'<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;=20
f:\itk\insight\code\numerics\vxl\vnl\vnl_numeric_traits.h(35) : see =
reference to=20
class template instantiation 'vnl_numeric_traits&lt;T&gt;' being=20
compiled<BR>6)f:\itk\insight\code\numerics\vxl\vnl\vnl_numeric_traits.h(7=
4) :=20
error C2143: syntax error : missing ';' before=20
'&lt;class-head&gt;'<BR>7)f:\itk\insight\code\numerics\vxl\vnl\vnl_numeri=
c_traits.h(74)=20
: error C2501: 'VCL_DEFINE_SPECIALIZATION' : missing storage-class or =
type=20
specifiers<BR>8)f:\itk\insight\code\numerics\vxl\vnl\vnl_numeric_traits.h=
(74) :=20
fatal error C1004: unexpected end of file found<BR>Error executing=20
cl.exe.</FONT></DIV>
<DIV>&nbsp;</DIV><FONT face=3DArial size=3D2>
<DIV><BR>Thanking you,</DIV>
<DIV>&nbsp;</DIV>
<DIV>Regards,<BR>Ramakrishna</FONT></DIV></BODY></HTML>

------=_NextPart_000_0071_01C207E6.8C1034A0--