Skip to main content
gamedev.net
🔒 Locked 🤖 Godot

LNK2019

Started by ratha 1 reply 850+ views
Original Post
ratha
ratha
Hi!
I got the Linker error LNK2019 in my project. The error is:


1>CustomScrollBar.obj : error LNK2019: unresolved external symbol "public: __thiscall irr::gui::CGUIButton::CGUIButton(class irr::gui::IGUIEnvironment *,class irr::gui::IGUIElement *,int,class irr::core::rect<int>,bool)" (??0CGUIButton@gui@irr@@QAE@PAVIGUIEnvironment@12@PAVIGUIElement@12@HV?$rect@H@core@2@_N@Z) referenced in function "private: void __thiscall irr::gui::CustomScrollBar::refreshControls(void)" (?refreshControls@CustomScrollBar@gui@irr@@AAEXXZ)

I've included the header file containing definition for CGUIButton() to the file where the error occurs. I've also included the path to project settings. What else to do to resolve this LNK2019 error?

Zahlman
Zahlman
Quote:
Original post by ratha
Hi!
I got the Linker error LNK2019 in my project. The error is:


1>CustomScrollBar.obj : error LNK2019: unresolved external symbol "public: __thiscall irr::gui::CGUIButton::CGUIButton(class irr::gui::IGUIEnvironment *,class irr::gui::IGUIElement *,int,class irr::core::rect<int>,bool)" (??0CGUIButton@gui@irr@@QAE@PAVIGUIEnvironment@12@PAVIGUIElement@12@HV?$rect@H@core@2@_N@Z) referenced in function "private: void __thiscall irr::gui::CustomScrollBar::refreshControls(void)" (?refreshControls@CustomScrollBar@gui@irr@@AAEXXZ)

I've included the header file containing definition for CGUIButton() to the file where the error occurs. I've also included the path to project settings. What else to do to resolve this LNK2019 error?


Read this.

Quote:
This has been posted twice by mistake. Can any one delete this for me?


I did it for you. In the future, you can do this for yourself, as follows:

1) Go to the copy of the thread you want to delete.
2) Click "Edit" for the first post.
3) Check the "Delete" checkbox at the top of the edit form.
4) Click the "Submit" button.

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.