MSVC15链接错误LNK2019

时间:2017-08-10 19:17:51

标签: c++ lnk2019

是的,我已经阅读了有关LNK2019错误的文档,但我无法弄清楚实际导致问题的原因,因为错误消息对我来说非常随机。

应用程序非常庞大,所以任何人都可以仅仅通过错误消息得出结论吗?

错误:

Error LNK2019 unresolved external symbol "class std::vector<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >,class std::allocator<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > > > __cdecl explode(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)" (?explode@@YA?AV?$vector@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@V?$allocator@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@2@@std@@AEBV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@2@0@Z) referenced in function "class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > __cdecl GetWords(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > &)" (?GetWords@@YA?AV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@AEAV12@@Z)

(是的,我已经设置了运行时库)

0 个答案:

没有答案