[Insight-users] ITK $VTK + MFC -> VTK & MFC -> 220 error(s), 244 warning(s)

Iryna Pavlyshak iryna at andrew.cmu.edu
Fri Jan 25 12:19:22 EST 2008


Hello All, 

There is a conflict when using MFC to code written with ITK and VTK, 
Does somebody have any idea, what may cause it? 


1>uafxcwd.lib(appcore.obj) : error LNK2001: unresolved external symbol
___wargv
1>uafxcwd.lib(appcore.obj) : error LNK2001: unresolved external symbol
___argc
1>vtkCommon.lib(vtkPoints.obj) : error LNK2019: unresolved external
symbol "__declspec(dllimport) public: class
std::basic_ostream<char,struct std::char_traits<char> > & __thiscall
std::basic_ostream<char,struct std::char_traits<char>
>::operator<<(double)"
(__imp_??6?$basic_ostream at DU?$char_traits at D@std@@@std@@QAEAAV01 at N@Z)
referenced in function "public: virtual void __thiscall
vtkPoints::PrintSelf(class std::basic_ostream<char,struct
std::char_traits<char> > &,class vtkIndent)"
(?PrintSelf at vtkPoints@@UAEXAAV?$basic_ostream at DU?$char_traits at D@std@@@st
d@@VvtkIndent@@@Z)
....................
....................
....................
1>vtkCommon.lib(vtkDebugLeaks.obj) : error LNK2019: unresolved external
symbol "__declspec(dllimport) public: class
std::basic_string<char,struct std::char_traits<char>,class
std::allocator<char> > & __thiscall std::basic_string<char,struct
std::char_traits<char>,class std::allocator<char> >::operator+=(char
const *)"
(__imp_??Y?$basic_string at DU?$char_traits at D@std@@V?$allocator at D@2@@std@@Q
AEAAV01 at PBD@Z) referenced in function "public: void __thiscall
vtkDebugLeaksHashNode::Print(class std::basic_string<char,struct
std::char_traits<char>,class std::allocator<char> > &)"
(?Print at vtkDebugLeaksHashNode@@QAEXAAV?$basic_string at DU?$char_traits at D@s
td@@V?$allocator at D@2@@std@@@Z)

thanks, 
Iryna



More information about the Insight-users mailing list