I’m not very familiar with Glut, but those “WithExit” look kinda funny, and a google search turns up almost no results. Are you following a tutorial for this?
Your glut.h may be an older version. Another problem is that you may not have ‘glut32.dll’. You can download all glut files, including glut32.lib, glut.h, and glut32.dll, “glut-3.7.6-bin.zip” at: http://www.xmission.com/~nate/glut.html
Did you read the readme in the zip and follow the instructions on where to extract the files. If so, when you extract the files, I found out that it makes a folder called “glut-3.7.6-bin” in the folder where you extracted them, which means it did not write over your old existing files. So you will need to go to the designated folder where you extracted the files, go in Nates folder, and copy the file to the correct folder. -Good Luck
#include<windows.h>// try adding this
#include<GL/gl.h>
#include<GL/glu.h>
#include<GL/glut.h>
Originally posted by Levy74:
[b]I’ve done that but still not working and that is the problem…actually I can’t see where the problem is.
This is how it looks on my computer