Jump to content
  • Advertisement
Sign in to follow this  
Utkarsh

LNK2019

This topic is 4130 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
LNK2019

If you read down the page, it outlines common causes and their remedies. See if any of them describes your situation.

Share this post


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

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!