glGenTextures and glBindTexture is missing :(
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''
My HomepageSome shoot to kill, others shoot to mame. I say clear the chamber and let the lord decide. - Reno 911
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...
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
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?
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?
#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?
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement