Advertisement

glGenTextures / glBindTexture problem

Started by June 29, 2000 09:09 PM
1 comment, last by Tinker 24 years, 4 months ago
When I try to compile Tutorial 6 in VC4 I get the message: undeclared identifier for both ''Gen and ''Bind. I have the Opengl32.lib, glu32.lib and glaux.lib in my Linker. I also perused the gl.h file and could not find declarations for either of the commands in there. I''ve used OGL on Unix and these commands work fine there, and it seems that they work fine for NeHe (his precompiled code runs on my machine). Anyone have any ideas as to what my problem might be due to? Thanks in advance to all repliers...

Hmmm...I found both in gl.h

WINGDIAPI void APIENTRY glBindTexture (GLenum target, GLuint texture);
WINGDIAPI void APIENTRY glGenTextures (GLsizei n, GLuint *textures);

is this the same version of gl.h?

Spikus

Advertisement
Thanks for the reply. I might have an older build of the files (mine is Build Version 0004). I''ll just head on over to the MS site and download the version there (or use the SGI version). However, I did get around using ''Gen and ''Bind; I load each texture into a List (as per the OGL SuperBible v1.0), and it works great.

Tinker

This topic is closed to new replies.

Advertisement