[vtkusers] link error vs 2010

petin petin75 at gmail.com
Mon Oct 18 10:30:36 EDT 2010


Hello,
I'm compiling vtk 5.4.2 from sources using visual studio 2010 32 bit,
I got this link error:

 vtkmetaio.dll : fatal error LNK1120: 1 unresolved externals
1>metaUtils.obj : error LNK2001: unresolved external symbol "public: static
unsigned int const std::basic_string<char,struct
std::char_traits<char>,class std::allocator<char> >::npos" (?npos@
?$basic_string at DU?$char_traits at D@std@@V?$allocator at D@2@@std@@2IB)
11>metaCommand.obj : error LNK2019: unresolved external symbol "public:
static unsigned int const std::basic_string<char,struct
std::char_traits<char>,class std::allocator<char> >::npos" (?npos@
?$basic_string at DU?$char_traits at D@std@@V?$allocator at D@2@@std@@2IB) referenced
in function "public: bool __thiscall
vtkmetaio::MetaCommand::ExportGAD(bool)" (?ExportGAD at MetaCommand@vtkmetaio@
@QAE_N_N at Z)
11>metaImage.obj : error LNK2001: unresolved external symbol "public: static
unsigned int const std::basic_string<char,struct
std::char_traits<char>,class std::allocator<char> >::npos" (?npos@
?$basic_string at DU?$char_traits at D@std@@V?$allocator at D@2@@std@@2IB)
11>metaArray.obj : error LNK2001: unresolved external symbol "public: static
unsigned int const std::basic_string<char,struct
std::char_traits<char>,class std::allocator<char> >::npos" (?npos@
?$basic_string at DU?$char_traits at D@std@@V?$allocator at D@2@@std@@2IB)

thanks
-Loris
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20101018/14bd7d8c/attachment.htm>


More information about the vtkusers mailing list