Jump to content

  • Log In with Google      Sign In   
  • Create Account

Banner advertising on our site currently available from just $5!


1. Learn about the promo. 2. Sign up for GDNet+. 3. Set up your advert!


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: 16342

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

#3 Aldacron   GDNet+   -  Reputation: 3371

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