Advertisement Jump to content
Sign in to follow this  
Utkarsh

LNK2019

This topic is 4228 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.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!