[Insight-developers] errors including ITK in an FLTK based project
C. Aaron Cois
cacst11+@pitt.edu
Tue, 29 May 2001 12:52:40 -0400
This is a multi-part message in MIME format.
------=_NextPart_000_0030_01C0E83E.3EA48680
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
I was wondering if any of the developers that use FLTK regularly might =
be abl eto give me some wisdom on a few errors i have been getting just =
trying to include an itk class in a project. This is a pre-existing =
project, and runs without itk...as soon as i add=20
#include "itkMesh.h"
I get the following errors:
f:\projects\insight\insight\code\numerics\vxl\vcl\win32\vcl_complex.h(27)=
: error C2667: 'norm' : none of 2 overload have a best conversion
=
f:\projects\insight\insight\code\numerics\vxl\vnl\vnl_complex.h(35) : =
see reference to function template instantiation 'float __cdecl =
abs(const class std::complex<float> &)' being compiled
f:\projects\insight\insight\code\numerics\vxl\vcl\win32\vcl_complex.h(27)=
: error C2668: 'norm' : ambiguous call to overloaded function
=
f:\projects\insight\insight\code\numerics\vxl\vnl\vnl_complex.h(35) : =
see reference to function template instantiation 'float __cdecl =
abs(const class std::complex<float> &)' being compiled
f:\projects\insight\insight\code\numerics\vxl\vcl\win32\vcl_complex.h(27)=
: error C2667: 'norm' : none of 2 overload have a best conversion
=
f:\projects\insight\insight\code\numerics\vxl\vnl\vnl_complex.h(36) : =
see reference to function template instantiation 'double __cdecl =
abs(const class std::complex<double> &)' being compiled
f:\projects\insight\insight\code\numerics\vxl\vcl\win32\vcl_complex.h(27)=
: error C2668: 'norm' : ambiguous call to overloaded function
=
f:\projects\insight\insight\code\numerics\vxl\vnl\vnl_complex.h(36) : =
see reference to function template instantiation 'double __cdecl =
abs(const class std::complex<double> &)' being compiled
f:\projects\insight\insight\code\numerics\vxl\vcl\win32\vcl_complex.h(27)=
: error C2667: 'norm' : none of 2 overload have a best conversion
=
f:\projects\insight\insight\code\numerics\vxl\vnl\vnl_complex.h(37) : =
see reference to function template instantiation 'long double __cdecl =
abs(const class std::complex<long double> &)' being compiled
f:\projects\insight\insight\code\numerics\vxl\vcl\win32\vcl_complex.h(27)=
: error C2668: 'norm' : ambiguous call to overloaded function
=
f:\projects\insight\insight\code\numerics\vxl\vnl\vnl_complex.h(37) : =
see reference to function template instantiation 'long double __cdecl =
abs(const class std::complex<long double> &)' being compiled
These are vnl related errors, but i can't figure out exactly what is =
causing them. There is no norm function defined in our previous code =
that could be conflicting, so could it be something betwee4n FLTK and =
ITK/VNL?
=
=
Aaron
=
=
University of Pittsburgh
------=_NextPart_000_0030_01C0E83E.3EA48680
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 content=3D"text/html; charset=3Diso-8859-1" =
http-equiv=3DContent-Type>
<META content=3D"MSHTML 5.00.2920.0" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>I was wondering if any of the =
developers that use=20
FLTK regularly might be abl eto give me some wisdom on a few errors i =
have been=20
getting just trying to include an itk class in a project. This is =
a=20
pre-existing project, and runs without itk...as soon as i add =
</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>#include "itkMesh.h"</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2>I get the following =
errors:</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial=20
size=3D2>f:\projects\insight\insight\code\numerics\vxl\vcl\win32\vcl_comp=
lex.h(27)=20
: error C2667: 'norm' : none of 2 overload have a best=20
conversion<BR> =20
f:\projects\insight\insight\code\numerics\vxl\vnl\vnl_complex.h(35) : =
see=20
reference to function template instantiation 'float __cdecl abs(const =
class=20
std::complex<float> &)' being=20
compiled<BR>f:\projects\insight\insight\code\numerics\vxl\vcl\win32\vcl_c=
omplex.h(27)=20
: error C2668: 'norm' : ambiguous call to overloaded=20
function<BR> =20
f:\projects\insight\insight\code\numerics\vxl\vnl\vnl_complex.h(35) : =
see=20
reference to function template instantiation 'float __cdecl abs(const =
class=20
std::complex<float> &)' being=20
compiled<BR>f:\projects\insight\insight\code\numerics\vxl\vcl\win32\vcl_c=
omplex.h(27)=20
: error C2667: 'norm' : none of 2 overload have a best=20
conversion<BR> =20
f:\projects\insight\insight\code\numerics\vxl\vnl\vnl_complex.h(36) : =
see=20
reference to function template instantiation 'double __cdecl abs(const =
class=20
std::complex<double> &)' being=20
compiled<BR>f:\projects\insight\insight\code\numerics\vxl\vcl\win32\vcl_c=
omplex.h(27)=20
: error C2668: 'norm' : ambiguous call to overloaded=20
function<BR> =20
f:\projects\insight\insight\code\numerics\vxl\vnl\vnl_complex.h(36) : =
see=20
reference to function template instantiation 'double __cdecl abs(const =
class=20
std::complex<double> &)' being=20
compiled<BR>f:\projects\insight\insight\code\numerics\vxl\vcl\win32\vcl_c=
omplex.h(27)=20
: error C2667: 'norm' : none of 2 overload have a best=20
conversion<BR> =20
f:\projects\insight\insight\code\numerics\vxl\vnl\vnl_complex.h(37) : =
see=20
reference to function template instantiation 'long double __cdecl =
abs(const=20
class std::complex<long double> &)' being=20
compiled<BR>f:\projects\insight\insight\code\numerics\vxl\vcl\win32\vcl_c=
omplex.h(27)=20
: error C2668: 'norm' : ambiguous call to overloaded=20
function<BR> =20
f:\projects\insight\insight\code\numerics\vxl\vnl\vnl_complex.h(37) : =
see=20
reference to function template instantiation 'long double __cdecl =
abs(const=20
class std::complex<long double> &)' being =
compiled</FONT></DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2> These are vnl =
related errors,=20
but i can't figure out exactly what is causing them. There is no =
norm=20
function defined in our previous code that could be conflicting, so =
could it be=20
something betwee4n FLTK and ITK/VNL?</FONT></DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2> =20
=
=20
=
=20
=
=20
=
=20
=
=20
=
=20
=
=20
=
=20
=
=20
Aaron</FONT></DIV>
<DIV><FONT face=3DArial size=3D2> =20
=
=20
=
=20
=
=20
=
=20
=
=20
=
=20
=
=20
=
=20
University of Pittsburgh</FONT></DIV></BODY></HTML>
------=_NextPart_000_0030_01C0E83E.3EA48680--