time for some news
it still don't work completly (But I didn't work a lot on this yet...) but I solved the glx.h problem.
The glx file that you post is the same as the one I had...
I made some research on google and I'm pretty sure that glx is only for linux (this is why it is not included with vc++ or mingw)
If you look the first lines of glx.h (after the big comment) you can see:
#include <X11/Xlib.h>
#include <X11/Xutil.h>
of course this can't be used in windows (X11 is like the windows api but for linux)
So I checked why glx was called during the compilation of Irrlicht dll.
I found that the compilation failed when compiling COpenGLTexture.cpp
The following lines are the cause of this problem:
#ifdef WIN32
#define WIN32_LEAN_AND_MEAN
#include <windows.h>
#include <gl\gl.h>
#include <gl\glu.h>
#else
#include <GL/glx.h>
#include <GL/gl.h>
#endif
of course this mean that glx.h is included only if WIN32 is NOT defined (so you are compiling on linux...) .
I don't know why, but WIN32 is not defined by default by VC++ toolkit so it tried to include glx.h instead of glu.h and windows.h
That's why it failed
The solution? I added to the Extra Compiler Switches (in the project options) this:
/D WIN32
So now that WIN32 is defined manually, the compiler don't try to open glx.h
So that's for the good news...
Now there is a new problem.
The compilation still fail because of this fatal error:
irrlicht\source\COpenGLTexture.h(16) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
I don't have windows.h
I checked in VC++ toolkit folder and it's not in the include folder...
strange...
I will try to find a solution and I will give you more news... stay tuned.
