Hello.
I am not able to multi-texture on Windows. (app runs fine on Mac)
I have OpenGL 1.2.1, acoording to glGetString(GL_VERSION).
I have “GL_ARB_multitexture” as one of my extensions reported by glGetString(GL_EXTENSIONS).
Sounds like I am ready to rock for multi-texture, right?
Well, here is the link error:
Link Error : Undefined symbol: _glMultiTexCoord2fARB@12 in HL_GRAPH.CPP
Link Error : Undefined symbol: _glMultiTexCoord2fvARB@8 in HL_GRAPH.CPP
Link Error : Undefined symbol: _glActiveTextureARB@4 in DRPLANE.CPP
I have included:
#include <c:\x-code\libinc\OpenGL-1.2\gl12.h>
#include <c:\x-code\libinc\OpenGL-1.2\glext12.h>
and the library OpenGl32.DLL, though I do not know how to confirm the version.
In case you are going to say I need to get the function pointer, when I say:
“PFNGLMULTITEXCOORD2FARBPROC glMultiTexCoord2fARB=NULL;”
I get compile error:
“Error : identifier ‘glMultiTexCoord2fARB(unsigned int, float, float)’ redeclared
was declared as: ‘__stdcall void (unsigned int, float, float)’
now declared as: ‘__stdcall void (*)(unsigned int, float, float)’
Hl_MNW.CPP line 14 PFNGLMULTITEXCOORD2FARBPROC glMultiTexCoord2fARB = NULL;”
So it seems the sompiler has what it needs WITHOUT the “PFNGLMULTITEXCOORD2FARBPROC”, but I still cannot link…
perhaps I need a newer opengl32.dll?
If so, where do I get it, exactly?