Error LNK2019

Hi all, This is the error I am getting in one of my projects. Can anyone tell me what it is supposed to mean? I did some research on net and found that I should include an .obj file or .lib file, but can anyone tell how to link that file to my project.

error LNK2019: unresolved external symbol "public: class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > __thiscall Tree::display(class Tree *)" (?display@Tree@@QAE?AV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@PAV1@@Z) referenced in function "void __cdecl CalcTED(struct HWND__ *)" (?CalcTED@@YAXPAUHWND__@@@Z)

Last edited on
What does your project setup look like? The error is that you are calling a function Tree::display() but the linker can't find the definition.
Topic archived. No new replies allowed.