[Insight-developers] vnl problems
Parag Chandra
chandra@cs.unc.edu
Thu, 29 Mar 2001 17:09:45 -0500
This is a multi-part message in MIME format.
------=_NextPart_000_00A9_01C0B873.0D762410
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Hi,
I'm getting a couple of strange problems when trying to build my =
SplineKernelTransformTest today. It was building fine yesterday, but I =
guess I hadn't done an update in a few days because when I updated =
today, I now get the following errors from VC++ (two instances of each):
d:\development\insight\code\numerics\vxl\vcl\win32\vcl_complex.h(27) : =
error C2667: 'norm' : none of 2 overload have a best conversion
d:\development\insight\code\numerics\vxl\vnl\vnl_complex.h(43) : =
see reference to function template instantiation 'float __cdecl =
abs(const class std::complex<float> &)' being compiled
d:\development\insight\code\numerics\vxl\vcl\win32\vcl_complex.h(27) : =
error C2668: 'norm' : ambiguous call to overloaded function
d:\development\insight\code\numerics\vxl\vnl\vnl_complex.h(43) : =
see reference to function template instantiation 'float __cdecl =
abs(const class std::complex<float> &)' being compiled
I use the norm() function in my classes, but have had no problems with =
it until just now. I don't get these errors under Cygwin. Has something =
changed recently in the numerics library?
Thanks,
-Parag
------=_NextPart_000_00A9_01C0B873.0D762410
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.4611.1300" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>Hi,</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>I'm getting a couple of strange =
problems when=20
trying to build my SplineKernelTransformTest today. It =
was=20
building fine yesterday, but I guess I hadn't done an update in a few =
days=20
because when I updated today, I now get the following errors from =
VC++ (two=20
instances of each):</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial=20
size=3D2>d:\development\insight\code\numerics\vxl\vcl\win32\vcl_complex.h=
(27) :=20
error C2667: 'norm' : none of 2 overload have a best=20
conversion<BR> =20
d:\development\insight\code\numerics\vxl\vnl\vnl_complex.h(43) : see =
reference=20
to function template instantiation 'float __cdecl abs(const class=20
std::complex<float> &)' being=20
compiled<BR>d:\development\insight\code\numerics\vxl\vcl\win32\vcl_comple=
x.h(27)=20
: error C2668: 'norm' : ambiguous call to overloaded=20
function<BR> =20
d:\development\insight\code\numerics\vxl\vnl\vnl_complex.h(43) : see =
reference=20
to function template instantiation 'float __cdecl abs(const class=20
std::complex<float> &)' being compiled<BR></FONT></DIV>
<DIV><FONT face=3DArial size=3D2>I use the norm() function in my =
classes, but have=20
had no problems with it until just now. I don't get these errors under =
Cygwin.=20
Has something changed recently in the numerics library?</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>-Parag</FONT></DIV></BODY></HTML>
------=_NextPart_000_00A9_01C0B873.0D762410--