[vtkusers] VTK & MFC -> 220 error(s), 244 warning(s)

John Platt jcplatt at dsl.pipex.com
Fri Jan 25 04:28:35 EST 2008


Hi,

Just a guess - have you set the entry-point symbol to wWinMainCRTStartup
(link settings)? Also, if you are using VC6 and C++ streams, try
including the stream header files after the vtk headers.

HTH

John.

-----Original Message-----
From: vtkusers-bounces+jcplatt=dsl.pipex.com at vtk.org
[mailto:vtkusers-bounces+jcplatt=dsl.pipex.com at vtk.org] On Behalf Of
Iryna Pavlyshak
Sent: 24 January 2008 18:25
To: vtkusers at vtk.org
Subject: [vtkusers] VTK & MFC -> 220 error(s), 244 warning(s)

Hello All,

Everything was ok, before I began to use MFC for GUI for programm.
Do you have any ideas about the following errors:

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)

any help will be appreciated, 
Iryna

_______________________________________________
This is the private VTK discussion list. 
Please keep messages on-topic. Check the FAQ at:
http://www.vtk.org/Wiki/VTK_FAQ
Follow this link to subscribe/unsubscribe:
http://www.vtk.org/mailman/listinfo/vtkusers





More information about the vtkusers mailing list