error: Your version of OpenGL doesn't support multitexturing.

Started by
4 comments, last by Enrico 15 years, 10 months ago
I have problem compiling the code. At first there is no <gl/glaux.h> so I installed opengl95.exe then put the /gl subfolder in the include folder of the VC of Visual2008. I got problems: <after compiling> -Current version of opengl doesn't support multitexturing. Anyone knows any solution to this problem or where can I get a newer version or the version that currently support the multitexturing features? Thx, P.S.
Advertisement
Try glew. This library has all the headers you need.
If I was helpful, feel free to rate me up ;)If I wasn't and you feel to rate me down, please let me know why!
I added <gl\glxew.h>, etc. to the header file or main.h.
Then I got this reply error message.

Error 2 fatal error C1083: Cannot open include file: 'X11/Xlib.h': No such file or directory c:\program files\microsoft visual studio 9.0\vc\include\gl\glxew.h 94 ShadersTexturing


What next to be done to solve this problem?

P.S.
This is the former one I include in the header file.

#include <gl\gl.h> // Header File For The OpenGL32 Library
#include <gl\glu.h> // Header File For The GLu32 Library
#include <gl\glaux.h>

Then I added :
#include <gl\glew.h>
#include <gl\glut.h>
#include <gl\glxew.h>
#include <gl\wglew.h>

Still problem exist!

P.S.
This is the former one I include in the header file.

#include <gl\gl.h> // Header File For The OpenGL32 Library
#include <gl\glu.h> // Header File For The GLu32 Library
#include <gl\glaux.h>

Then I added :
#include <gl\glew.h>
#include <gl\glut.h>
#include <gl\glxew.h>
#include <gl\wglew.h>

Still problem exist!

P.S.
glxew.h is a special header file for Linux/Unix systems using X11. wglew.h is his brother for Windows system.

You only need to add glew.h to the list of include files, everything else is not needed from Glew.
--

This topic is closed to new replies.

Advertisement