[Insight-users] itk 1.0 to itk 1.2 : link problem

Miller, James V (Research) millerjv@crd.ge.com
Thu, 17 Apr 2003 12:15:55 -0400


This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------_=_NextPart_001_01C304FC.5EA3AFB4
Content-Type: text/plain;
	charset="iso-8859-1"

These methods are still in ITK. Where are you getting this error?  Building
ITK itself? Or
your own project that links against ITK?  Did you do a clean build?  Could
there be any
ITK 1.0 libraries around that being used (maybe for a different
configuration Debug or Release)?
 
Jim

-----Original Message-----
From: Dunham Patrick [mailto:pdunham@ulb.ac.be]
Sent: Thursday, April 17, 2003 12:04 PM
To: insight-users@public.kitware.com
Subject: [Insight-users] itk 1.0 to itk 1.2 : link problem


Hi,
I've just change my version of itk to 1.2 but I got now link problem :
 
error LNK2001: unresolved external symbol "public: virtual void __thiscall
itk::ProcessObject::GenerateOutputRequestedRegion(class itk::DataObject *)"
( GenerateOutputRequestedRegion@ProcessObject@itk@@UAEXPAVDataObject@2@@Z
<mailto:GenerateOutputRequestedRegion@ProcessObject@itk@@UAEXPAVDataObject@2
@@Z> )
error LNK2001: unresolved external symbol "public: virtual void __thiscall
itk::ProcessObject::GenerateOutputInformation(void)" (
?GenerateOutputInformation@ProcessObject@itk@@UAEXXZ
<mailto:?GenerateOutputInformation@ProcessObject@itk@@UAEXXZ> )
error LNK2001: unresolved external symbol "public: virtual void __thiscall
itk::ProcessObject::GenerateInputRequestedRegion(void)" (
?GenerateInputRequestedRegion@ProcessObject@itk@@UAEXXZ
<mailto:?GenerateInputRequestedRegion@ProcessObject@itk@@UAEXXZ> )
error LNK2001: unresolved external symbol "public: virtual void __thiscall
itk::ProcessObject::PrepareOutputs(void)" (
?PrepareOutputs@ProcessObject@itk@@UAEXXZ
<mailto:?PrepareOutputs@ProcessObject@itk@@UAEXXZ> )
 
It was just working fine with 1.0... 
Thanks for any help,
Patrick.


------_=_NextPart_001_01C304FC.5EA3AFB4
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=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Diso-8859-1">


<META content=3D"MSHTML 6.00.2715.400" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><SPAN class=3D699031416-17042003><FONT color=3D#0000ff =
size=3D2>These methods are=20
still in ITK.&nbsp;Where are you getting this error?&nbsp; Building ITK =
itself?=20
Or</FONT></SPAN></DIV>
<DIV><SPAN class=3D699031416-17042003><FONT color=3D#0000ff =
size=3D2>your own project=20
that links against ITK?&nbsp; Did you do a clean build?&nbsp; Could =
there be=20
any</FONT></SPAN></DIV>
<DIV><SPAN class=3D699031416-17042003><FONT color=3D#0000ff =
size=3D2>ITK 1.0 libraries=20
around that being used (maybe for a different configuration Debug or=20
Release)?</FONT></SPAN></DIV>
<DIV><SPAN class=3D699031416-17042003><FONT color=3D#0000ff=20
size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D699031416-17042003><FONT color=3D#0000ff=20
size=3D2>Jim</FONT></SPAN></DIV>
<BLOCKQUOTE dir=3Dltr=20
style=3D"PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px =
solid; MARGIN-RIGHT: 0px">
  <DIV class=3DOutlookMessageHeader dir=3Dltr align=3Dleft><FONT =
face=3DTahoma=20
  size=3D2>-----Original Message-----<BR><B>From:</B> Dunham Patrick=20
  [mailto:pdunham@ulb.ac.be]<BR><B>Sent:</B> Thursday, April 17, 2003 =
12:04=20
  PM<BR><B>To:</B> insight-users@public.kitware.com<BR><B>Subject:</B>=20
  [Insight-users] itk 1.0 to itk 1.2 : link =
problem<BR><BR></FONT></DIV>
  <DIV><FONT face=3DArial size=3D2>Hi,</FONT></DIV>
  <DIV><FONT face=3DArial size=3D2>I've just change my version of itk =
to 1.2=20
  but&nbsp;I&nbsp;got now link problem :</FONT></DIV>
  <DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
  <DIV><FONT face=3DArial size=3D2>error LNK2001: unresolved external =
symbol=20
  "public: virtual void __thiscall=20
  itk::ProcessObject::GenerateOutputRequestedRegion(class =
itk::DataObject *)" (=20
  <A=20
  =
href=3D"mailto:GenerateOutputRequestedRegion@ProcessObject@itk@@UAEXPAVD=
ataObject@2@@Z">GenerateOutputRequestedRegion@ProcessObject@itk@@UAEXPAV=
DataObject@2@@Z</A>)<BR>error=20
  LNK2001: unresolved external symbol "public: virtual void __thiscall=20
  itk::ProcessObject::GenerateOutputInformation(void)" (<A=20
  =
href=3D"mailto:?GenerateOutputInformation@ProcessObject@itk@@UAEXXZ">?Ge=
nerateOutputInformation@ProcessObject@itk@@UAEXXZ</A>)<BR>error=20
  LNK2001: unresolved external symbol "public: virtual void __thiscall=20
  itk::ProcessObject::GenerateInputRequestedRegion(void)" (<A=20
  =
href=3D"mailto:?GenerateInputRequestedRegion@ProcessObject@itk@@UAEXXZ">=
?GenerateInputRequestedRegion@ProcessObject@itk@@UAEXXZ</A>)<BR>error=20
  LNK2001: unresolved external symbol "public: virtual void __thiscall=20
  itk::ProcessObject::PrepareOutputs(void)" (<A=20
  =
href=3D"mailto:?PrepareOutputs@ProcessObject@itk@@UAEXXZ">?PrepareOutput=
s@ProcessObject@itk@@UAEXXZ</A>)</FONT></DIV>
  <DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
  <DIV><FONT face=3DArial size=3D2>It was just working fine with 1.0... =

</FONT></DIV>
  <DIV><FONT face=3DArial size=3D2>Thanks for =
any&nbsp;help,</FONT></DIV>
  <DIV><FONT face=3DArial =
size=3D2>Patrick.</FONT></DIV></BLOCKQUOTE></BODY></HTML>

------_=_NextPart_001_01C304FC.5EA3AFB4--