未解析的外部符号?错误lnk2019
我想知道是否有人知道这个错误是什么意思。
感谢
错误 LNK2019:无法解析的外部符号“public:void __thiscall LinkedList,类 std::allocator > >::LocItem *>::decreasekey(class PriorityList,类 std::allocator > >::LocItem * const &)" (?decreasekey@?$LinkedList@HPAVLocItem@?$PriorityList@HV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@@@@ QAEXABQAVLocItem@?$PriorityList@HV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@@@Z) 在函数“public: void __thiscall PriorityList,class”中引用std::allocator > >::decreasekey(class PriorityList,class std::allocator > >::Locator)" (?decreasekey@?$PriorityList@HV?$basic_string@DU?$char_traits@D@std @@V?$分配器@D@2@@std@@@@QAEXVlocator@1@@Z)
I was wondering if anyone knew what this error meant.
Thanks
error LNK2019: unresolved external symbol "public: void __thiscall LinkedList,class std::allocator > >::LocItem *>::decreasekey(class PriorityList,class std::allocator > >::LocItem * const &)" (?decreasekey@?$LinkedList@HPAVLocItem@?$PriorityList@HV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@@@@QAEXABQAVLocItem@?$PriorityList@HV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@@@Z) referenced in function "public: void __thiscall PriorityList,class std::allocator > >::decreasekey(class PriorityList,class std::allocator > >::Locator)" (?decreasekey@?$PriorityList@HV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@@QAEXVLocator@1@@Z)
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
它只是意味着有一个未定义的符号。检查您的拼写并确保它存在并在您的代码中定义。
MSDN 帮助页面
It simply means there is a symbol that was not defined. Check your spelling and make sure it exists and is defined in your code.
MSDN Help page