Advertisement

glGenTextures and glBindTexture is missing :(

Started by December 29, 2000 11:06 AM
8 comments, last by Alazorn 23 years, 10 months ago
Why, oh why is my headerfiles never be what I expected them to be? Do I need new once, I am currently using thouse included in Borland C++ 5.02? #include #include #include Call to undefined function ''glGenTextures'' Call to undefined function ''glBindTexture''
your are linking the libraries, right?

HHSDrum@yahoo.com www.polarisoft.n3.net
My HomepageSome shoot to kill, others shoot to mame. I say clear the chamber and let the lord decide. - Reno 911
Advertisement
Errr what?

the files I include is gl\gl.h, gl\glu.h and gl\glaux.
I think that you''ve got headers for OpenGL 1.0 and you need OGL 1.1 to use texture objects.

I don''t know where you can download new headers for Borland C++, maybe they are in the Platform SDK or Borland.com?

btw. I do know that the OGL 1.1 headers come with the free Borland C++ compiler...
Well it seams as I have the wrong headerfiles (1.0) but I cant find any new versions anywhere
ftp://ftp.microsoft.com/softlib/mslfiles/opengl95.exe
Advertisement
Works now, thx ppl
Ah well, it still didnt work to well, I lost all "Call to undefined function" but of course a new error saw the ligt of day

Error: Error: Unresolved external ''auxDIBImageLoadA'' referenced from C:\MINA DOKUMENT\PROJECT\LESSON 4\FORCE.OBJ

what might that be all about?
I think it might have something to do with this entery in glaux.h :

#ifdef UNICODE
#define auxDIBImageLoad auxDIBImageLoadW
#else
#define auxDIBImageLoad auxDIBImageLoadA
#endif
AUX_RGBImageRec * APIENTRY auxDIBImageLoadA(LPCSTR);
AUX_RGBImageRec * APIENTRY auxDIBImageLoadW(LPCWSTR);

How can I fix it?
you need to include the glaux.lib file

you can find info about getting a borland compatible
file at http://www.gnt.net/~heiman/home_page.htm

This topic is closed to new replies.

Advertisement