Having trouble setting up OpenGL with VC++ 2005
I'm sure I'm missing something really obvious, but I can't seem to figure out what. When I compile my test program, the compiler flags more than 100 errors in gl.h, and none in my actual program. Are there any sort of flags I should set in order for VC++ to compile gl.h correctly? I'd post code, but the only errors reported are in gl.h.
Thanks in advance!
you need to add the lib files to your compiler also.
glaux.lib glu32.lib opengl32.lib
under linker->input
glaux.lib glu32.lib opengl32.lib
under linker->input
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement