[Insight-users] another question
ycl lydia
ycllydia@hotmail.com
Wed, 27 Mar 2002 19:13:06 +0000
Hi Luis,
Thanks Luis for your reply.
I don't think that it's a problem of paths, in fact if don't use the flag /D
"VTK_USE_ANSI_STDLIB" /GX /Zm1000 in the setting, I have a the following
compilation error
error C2664: 'Print' : cannot convert parameter 1 from 'class
std::basic_ostream<char,struct std::char_traits<char> >' to 'class ostream
&' A reference that is not to 'const' cannot be bound to a non-lvalue
But If I use the flag, I have no compilation error but a linkage error, I
think this is dur to some iostream library.
>From: Luis Ibanez <luis.ibanez@kitware.com>
>To: ycl lydia <ycllydia@hotmail.com>
>CC: insight-users@public.kitware.com
>Subject: Re: [Insight-users] another question
>Date: Wed, 27 Mar 2002 14:04:55 -0500
>
>
>Hi Lydia,
>
>This particular project is intended to present an example
>of how to link ITK with VTK.
>
>It seems that at linking time it is not finding the appropiate
>VTK libraries.
>
>Could you please run CMake and double check that the
>PATH's you provided for VTK libraries are correct.
>
>Please let us know if that helps or not.
>
>
>Thanks
>
>
>Luis
>
>-----------------------------------------------------------
>
>ycl lydia wrote:
>
>>I compiled itk and it works. The only problem that I have is with the
>>project vtk2itk
>>I have always this message error
>>tk2itk.obj : error LNK2001: unresolved external symbol
>>"__declspec(dllimport) public: void __thiscall vtkObject::Print(class
>>std::basic_ostream<char,struct std::char_traits<char> > &)"
>>(__imp_?Print@vtkObject@@QAEXAAV?$basic_ostream@DU?$char_traits
>>@D@std@@@std@@@Z)
>>
>>did anyone already have the same message??
>>
>>Lydia
>>
>>_________________________________________________________________
>>Téléchargez MSN Explorer gratuitement à l'adresse
>>http://explorer.msn.fr/intl.asp.
>>
>>_______________________________________________
>>Insight-users mailing list
>>Insight-users@public.kitware.com
>>http://public.kitware.com/mailman/listinfo/insight-users
>>
>>
>
>
>
>_______________________________________________
>Insight-users mailing list
>Insight-users@public.kitware.com
>http://public.kitware.com/mailman/listinfo/insight-users
_________________________________________________________________
Discutez en ligne avec vos amis, essayez MSN Messenger :
http://messenger.msn.fr