[Insight-users] Error in the compilation
Rodrigo Trujillo
Rodrigo Trujillo" <rodrigo.trujillo at cenpra.gov.br
Tue, 6 Jan 2004 15:01:46 -0200
This is a multi-part message in MIME format.
------=_NextPart_000_0009_01C3D466.01174200
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Hi
I'm trying to compile the Insight Applications but the following error =
occurs:
--------------------Configuration: GaussianMinimumErrorClassifier - =
Win32 Release--------------------
Compiling...
GaussianMinimumErrorClassifier.cxx
C:\InsightApplications\GaussianMinimumErrorClassifier\GaussianMinimumErro=
rClassifier.cxx(301) : error C2662: 'GetClassSample' : cannot convert =
'this' pointer from 'const class itk::Statistics::MembershipSample<class =
itk::Statistics::ImageToListAdapt
or<class itk::Image<class itk::Vector<short,1>,3>,class =
itk::Vector<short,1> > >' to 'class =
itk::Statistics::MembershipSample<class =
itk::Statistics::ImageToListAdaptor<class itk::Image<class =
itk::Vector<short,1>,3>,class itk::Vector<short,1> > > &'
Conversion loses qualifiers
C:\InsightApplications\GaussianMinimumErrorClassifier\GaussianMinimumErro=
rClassifier.cxx(306) : error C2662: 'GetClassSample' : cannot convert =
'this' pointer from 'const class itk::Statistics::MembershipSample<class =
itk::Statistics::ImageToListAdapt
or<class itk::Image<class itk::Vector<short,1>,3>,class =
itk::Vector<short,1> > >' to 'class =
itk::Statistics::MembershipSample<class =
itk::Statistics::ImageToListAdaptor<class itk::Image<class =
itk::Vector<short,1>,3>,class itk::Vector<short,1> > > &'
Conversion loses qualifiers
Error executing cl.exe.
ALL_BUILD - 2 error(s), 0 warning(s)
-------------------------------------------------------------------------=
----------------------------------------------------------------
I do not know what to do, because he does not have updates in the CVS.
Thanks.
Rodrigo Trujillo
------=_NextPart_000_0009_01C3D466.01174200
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 6.00.2800.1276" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2><FONT face=3D"Times New Roman" =
size=3D3>Hi<BR><BR>I'm=20
trying to compile the Insight Applications but the following error=20
occurs:<BR></FONT></FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>--------------------Configuration:=20
GaussianMinimumErrorClassifier - Win32=20
Release--------------------<BR>Compiling...<BR>GaussianMinimumErrorClassi=
fier.cxx<BR>C:\InsightApplications\GaussianMinimumErrorClassifier\Gaussia=
nMinimumErrorClassifier.cxx(301)=20
: error C2662: 'GetClassSample' : cannot convert 'this' pointer from =
'const=20
class itk::Statistics::MembershipSample<class=20
itk::Statistics::ImageToListAdapt<BR>or<class itk::Image<class=20
itk::Vector<short,1>,3>,class itk::Vector<short,1> > =
>' to=20
'class itk::Statistics::MembershipSample<class=20
itk::Statistics::ImageToListAdaptor<class itk::Image<class=20
itk::Vector<short,1>,3>,class itk::Vector<short,1> > =
>=20
&'<BR> Conversion loses=20
qualifiers<BR>C:\InsightApplications\GaussianMinimumErrorClassifier\Gauss=
ianMinimumErrorClassifier.cxx(306)=20
: error C2662: 'GetClassSample' : cannot convert 'this' pointer from =
'const=20
class itk::Statistics::MembershipSample<class=20
itk::Statistics::ImageToListAdapt<BR>or<class itk::Image<class=20
itk::Vector<short,1>,3>,class itk::Vector<short,1> > =
>' to=20
'class itk::Statistics::MembershipSample<class=20
itk::Statistics::ImageToListAdaptor<class itk::Image<class=20
itk::Vector<short,1>,3>,class itk::Vector<short,1> > =
>=20
&'<BR> Conversion loses=20
qualifiers<BR>Error executing cl.exe.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>ALL_BUILD - 2 error(s), 0 =
warning(s)</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial=20
size=3D2>----------------------------------------------------------------=
-------------------------------------------------------------------------=
</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>I do not know what to do, because =
he does not=20
have updates in the CVS.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>Thanks.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>Rodrigo Trujillo</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV></BODY></HTML>
------=_NextPart_000_0009_01C3D466.01174200--