- Code: Select all
...
#include <GL/glx.h>
...
to something like
- Code: Select all
...
//#include <GL/glx.h>
#define True 1
#define False 0
...
Obviously, it's just temporary solution (maybe including wgl.h will solve it).
2. About PFNGLLOCKARRAYSEXTPROC: to make it run you need OpenGL's extensions definition file, e.g.: http://www.opengl.org/registry/api/glext.h (btw, I think it's in a typical Windows installation by default); additionally, change 19th and 21st lines in ogl.cpp from
- Code: Select all
...
(*glproc) ((GLubyte*) "glLockArraysEXT");
...
(*glproc) ((GLubyte*) "glUnlockArraysEXT");
...
to something like this:
- Code: Select all
...
wglGetProcAddress ( "glLockArraysEXT" );
...
wglGetProcAddress ( "glUnlockArraysEXT" );
...
Hope it helps, because I haven't tried this myself

