• Advertisement
Sign in to follow this  

LNK2019

This topic is 3954 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

error LNK2019: unresolved external symbol "public: void __thiscall GLUI_Master_Object::get_viewport_area(int *,int *,int *,int *)" (?get_viewport_area@GLUI_Master_Object@@QAEXPAH000@Z) referenced in function "public: void __thiscall Application::Reshape(int,int)" (?Reshape@Application@@QAEXHH@Z) Why am i getting this error please help Utkarsh

Share this post


Link to post
Share on other sites
Advertisement
Quote:
Original post by Utkarsh
error LNK2019: unresolved external symbol "public: void __thiscall GLUI_Master_Object::get_viewport_area(int *,int *,int *,int *)" (?get_viewport_area@GLUI_Master_Object@@QAEXPAH000@Z) referenced in function "public: void __thiscall Application::Reshape(int,int)" (?Reshape@Application@@QAEXHH@Z)

Why am i getting this error please help

Utkarsh
The error message tells you the problem.
You have a function get_viewport_area() which takes 4 int* parameters, and is a member of the GLUI_Master_Object class, and the linker can't find it's implementation. It's called in the Application::Reshape() function.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement