Okay so I'm kind of new with OpenGL, but I thought I should learn to use OpenGL as it's currently meant to be used from the word go. So I'm skipping all the fixed pipeline stuff using glew to access OpenGL 3.x and following a tutorial online.
The tutorial online only mentions I will have to install glew itself to begin, as I have a graphics card whose drivers come with OpenGL 4.0. So I'm all set, I've downloaded the win32 version of the glew binaries, installed it, made a project in VC++ 2010 set all the paths, and followed the tutorial and have made a quick OpenGLContext class that makes a render context, and puts it into a Ms Window (without glut). The problem is when I build this class I get an error inside one of the glew header files.
It's concerning a series of header includes involving X11. The tutorial seems to imply that I shouldn't have to go find and download and set up path information for X11, so I don't know what I did wrong. Any help, suggestions, etc?
Here is the specific error: "1>c:\glew\glew-1.5.8\include\gl\glxew.h(97): fatal error C1083: Cannot open include file: 'X11/Xlib.h': No such file or directory"
The only source concerned with the error are a series of include statements at the top of the file stated in the error.
The glew library downloaded can be found here: https://sourceforge.net/projects/glew/files/glew/1.5.8/glew-1.5.8-win32.zip/download
I dunno if this matters, but here's how I've referenced OpenGL and glew in my source
#pragma once
#include <gl/glew.h>
#include <gl/wglew.h>
#include <gl/GL.h>
#pragma comment(lib, "glew32.lib")
#pragma comment(lib, "opengl32.lib")
UPDATE: this error was fixed by removing the gl/GL.h include... yeah I dunno either... in any case, this whole project is acting funny...