🎉 Celebrating 25 Years of GameDev.net! 🎉
Not many can claim 25 years on the Internet! Join us in celebrating this milestone. Learn more about our history, and thank you for being a part of our community!
Texturing - probably a stupid question but...
I''m using OpenGL 1.1 and i''m trying to use the functions glBindTexture and glGenTextures. It gives me this error:
Call to undefined function ''glGenTextures''
Weren''t these just used in the OpenGL texturing tutorial?? What''s up with this?
Thanks! Blue, Blue Grass...
quote: Original post by BlueGrass
Call to undefined function 'glGenTextures'
Did you make sure you included:
windows.h // Header File For Windows
gl\gl.h // Header File For The OpenGL32 Library
gl\glu.h // Header File For The GLu32 Library
gl\glaux.h // Header File For The Glaux Library
Also, did you spell it right?
![](smile.gif)
(Courtesy of NeHe
![](wink.gif)
-SkyFire
------------------------------------------------------------
Ud. me maneja loco porque...bueno, porque
![](wink.gif)
Edited by - skyfire360 on August 3, 2000 12:52:01 AM
Edited by - skyfire360 on August 3, 2000 12:52:58 AM
Hi...
skyfire is right ... but make sure you have the newest includes ... this may sound stupid ... but I had similar problem, when I even included *.h but my compiler had them without some definitions ... funny but true ... download from opengl.org
Pet
skyfire is right ... but make sure you have the newest includes ... this may sound stupid ... but I had similar problem, when I even included *.h but my compiler had them without some definitions ... funny but true ... download from opengl.org
Pet
Go sure that you add the corresponding ''.lib'' - files to the project. See the tutorials for more information.
it does sound like you didn''t include one of the files. however, the opengl headers that come with msvc++ 6 are up to date enough to have this function.
JoeMont001@aol.com
www.polarisoft.n3.net
JoeMont001@aol.com
![](http://www.geocities.com/him_voxdei/image/angryfire.gif)
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement