Trouble with VS express and Open GL
where did you get the gl headers from? this makes a big differece... one very easy way out of this is to use one on the openGL extension loaders for you.. for example if you use GLee, jsut put #include "GLee.h" in your code and GLee automagically does the mess for you (because it includes the necessary windows junk for you IF you are in Windows)...
I think I had the exact same problem as you. I know its frustrating. What I did was go to
http://www.xmission.com/~nate/glut.html
put the .dll in I think
C:\WINDOWS\system32 or C:\WINDOWS\system(check the readme to be sure)
then put the .lib in vc libary and the .h in the inlcude directory
then at the top of your code just put
#include
and nothing else. This atleast worked for me.
http://www.xmission.com/~nate/glut.html
put the .dll in I think
C:\WINDOWS\system32 or C:\WINDOWS\system(check the readme to be sure)
then put the .lib in vc libary and the .h in the inlcude directory
then at the top of your code just put
#include
and nothing else. This atleast worked for me.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement