PDA

View Full Version : Just Started



djhabana
05-24-2011, 02:00 PM
I started a few days ago with OpenGL, maybe I am stupid or missed something, I followed the instructions in "Getting Started"

But when I just test the following code
//Some header file.
include <GL/gl.h>
include <GL/glext.h>
include <GL/wglext.h>

extern PFNGLACTIVETEXTUREPROC glActiveTexture;

and run it I get 143 errors from GL.h
(I am using Visual Studio 2008 C++)

Muhammad Asif Hussain
05-24-2011, 10:23 PM
Read OpenGL manuals...
Learn Example codes from this link, http://www.opengl.org/code/

V-man
05-25-2011, 05:28 AM
Some information can take time to track down in the Wiki, but here you go
http://www.opengl.org/wiki/Platform_specifics:_Windows