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
glext.h - unresolved symbols
Started by drwbns, Aug 03 2012 08:32 PM
2 replies to this topic
Sponsor:
#2 Crossbones+ - Reputation: 5172
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
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
L. Spiro Engine: http://lspiroengine.com
L. Spiro Engine Forums: http://lspiroengine.com/forums
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
L. Spiro Engine: http://lspiroengine.com
L. Spiro Engine Forums: http://lspiroengine.com/forums
#3 Members - Reputation: 1806
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.






