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

Dunham Patrick pdunham@ulb.ac.be
Thu, 17 Apr 2003 19:00:04 +0200


This is a multi-part message in MIME format.

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

I found the problem :
I just forgot to change the include directory.

thanks for the help,
Patrick

  ----- Original Message -----=20
  From: Miller, James V (Research)=20
  To: 'Dunham Patrick' ; insight-users@public.kitware.com=20
  Sent: Thursday, April 17, 2003 6:15 PM
  Subject: RE: [Insight-users] itk 1.0 to itk 1.2 : link problem


  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)
    error LNK2001: unresolved external symbol "public: virtual void =
__thiscall itk::ProcessObject::GenerateOutputInformation(void)" =
(?GenerateOutputInformation@ProcessObject@itk@@UAEXXZ)
    error LNK2001: unresolved external symbol "public: virtual void =
__thiscall itk::ProcessObject::GenerateInputRequestedRegion(void)" =
(?GenerateInputRequestedRegion@ProcessObject@itk@@UAEXXZ)
    error LNK2001: unresolved external symbol "public: virtual void =
__thiscall itk::ProcessObject::PrepareOutputs(void)" =
(?PrepareOutputs@ProcessObject@itk@@UAEXXZ)

    It was just working fine with 1.0...=20
    Thanks for any help,
    Patrick.

------=_NextPart_000_0027_01C30513.8E3A78A0
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.2600.0" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>I found the problem :</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>I just forgot to change the include=20
directory.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>thanks for the help,</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Patrick</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<BLOCKQUOTE dir=3Dltr=20
style=3D"PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; =
BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
  <DIV style=3D"FONT: 10pt arial">----- Original Message ----- </DIV>
  <DIV=20
  style=3D"BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: =
black"><B>From:</B>=20
  <A title=3Dmillerjv@crd.ge.com =
href=3D"mailto:millerjv@crd.ge.com">Miller, James V=20
  (Research)</A> </DIV>
  <DIV style=3D"FONT: 10pt arial"><B>To:</B> <A =
title=3Dpdunham@ulb.ac.be=20
  href=3D"mailto:pdunham@ulb.ac.be">'Dunham Patrick'</A> ; <A=20
  title=3Dinsight-users@public.kitware.com=20
  =
href=3D"mailto:insight-users@public.kitware.com">insight-users@public.kit=
ware.com</A>=20
  </DIV>
  <DIV style=3D"FONT: 10pt arial"><B>Sent:</B> Thursday, April 17, 2003 =
6:15=20
  PM</DIV>
  <DIV style=3D"FONT: 10pt arial"><B>Subject:</B> RE: [Insight-users] =
itk 1.0 to=20
  itk 1.2 : link problem</DIV>
  <DIV><BR></DIV>
  <DIV><SPAN class=3D699031416-17042003><FONT color=3D#0000ff =
size=3D2>These methods=20
  are still in ITK.&nbsp;Where are you getting this error?&nbsp; =
Building ITK=20
  itself? Or</FONT></SPAN></DIV>
  <DIV><SPAN class=3D699031416-17042003><FONT color=3D#0000ff =
size=3D2>your own=20
  project that links against ITK?&nbsp; Did you do a clean build?&nbsp; =
Could=20
  there be any</FONT></SPAN></DIV>
  <DIV><SPAN class=3D699031416-17042003><FONT color=3D#0000ff =
size=3D2>ITK 1.0=20
  libraries 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> <A=20
    =
href=3D"mailto:insight-users@public.kitware.com">insight-users@public.kit=
ware.com</A><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@@UAEXPAVDa=
taObject@2@@Z">GenerateOutputRequestedRegion@ProcessObject@itk@@UAEXPAVDa=
taObject@2@@Z</A>)<BR>error=20
    LNK2001: unresolved external symbol "public: virtual void __thiscall =

    itk::ProcessObject::GenerateOutputInformation(void)" (<A=20
    =
href=3D"mailto:?GenerateOutputInformation@ProcessObject@itk@@UAEXXZ">?Gen=
erateOutputInformation@ProcessObject@itk@@UAEXXZ</A>)<BR>error=20
    LNK2001: unresolved external symbol "public: virtual void __thiscall =

    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 =

    itk::ProcessObject::PrepareOutputs(void)" (<A=20
    =
href=3D"mailto:?PrepareOutputs@ProcessObject@itk@@UAEXXZ">?PrepareOutputs=
@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...=20
    </FONT></DIV>
    <DIV><FONT face=3DArial size=3D2>Thanks for =
any&nbsp;help,</FONT></DIV>
    <DIV><FONT face=3DArial=20
size=3D2>Patrick.</FONT></DIV></BLOCKQUOTE></BLOCKQUOTE></BODY></HTML>

------=_NextPart_000_0027_01C30513.8E3A78A0--