Jump to content

  • Log In with Google      Sign In   
  • Create Account

We need your feedback on a survey! Each completed response supports our community and gives you a chance to win a $25 Amazon gift card!


glext.h - unresolved symbols


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
2 replies to this topic

#1 drwbns   Members   -  Reputation: 103

Like
0Likes
Like

Posted 03 August 2012 - 08:32 PM

Hey guys, I'm trying to use some functions from glext.h, but which lib should I link to fix the error -

error LNK2001: unresolved external symbol _glLoadProgramNV@16

Sponsor:

#2 L. Spiro   Crossbones+   -  Reputation: 14447

Like
2Likes
Like

Posted 03 August 2012 - 10:25 PM

Windows®’ OpenGL DLL’s do not expose said functions. You have to use their definitions and manually “link” to them via wglGetProcAddress().


L. Spiro
It is amazing how often people try to be unique, and yet they are always trying to make others be like them. - L. Spiro 2011
I spent most of my life learning the courage it takes to go out and get what I want. Now that I have it, I am not sure exactly what it is that I want. - L. Spiro 2013
I went to my local Subway once to find some guy yelling at the staff. When someone finally came to take my order and asked, “May I help you?”, I replied, “Yeah, I’ll have one asshole to go.”
L. Spiro Engine: http://lspiroengine.com
L. Spiro Engine Forums: http://lspiroengine.com/forums

#3 Aldacron   GDNet+   -  Reputation: 3281

Like
0Likes
Like

Posted 04 August 2012 - 03:26 AM

This page over at StackOverflow has a good explanation on how to load OpenGL extensions manually. And if you'd rather not do that, this page at OpenGL.org has a list of libraries that will do it for you.




Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS