Compile error

I am getting a compile error. Error is “undefined function glGenTextures”
“undefined function glBindTexture”

Both are defined as follows in my program glGenTextures(sizeof(Texture), &texture[0]);

glBindTexture(GL_TEXTURE_2D, texture[loop]);

This program comes from http://nehe.gamedev.com Lesson 38 .

I am compiling on Borland C++ v5.02
Any thoughts or ideas as to why it won’t compile, send em on.

Send all flames to /dev/null

sounds like you have a really old (1.0) header file before texture objects. You should look at this link http://members.cox.net/scottheiman/opengl.htm
it will help and explains in better detail than I can

I am compiling on Borland C++ v5.02
Send all flames to /dev/null

I don’t know what I find more amusing… the fact that you’re using Windows, or that you also (in the same breath) use a Unix in-joke

:slight_smile: