PDA

View Full Version : simple introductry program, hello



Robert Laursen
04-07-2005, 05:21 AM
I have tried to use the "hello" program with visual C++. The compiler chokes on the following, among others:

glutInitWindowSize()
glutInitWindowPosition()
glutCreateWindow()
init()
Iam using the following headerfiles:
#include <windows.h>
#include <GL/gl.h>
#include <GL/glu.h>
#include <gl/glaux.h>
thanks

dvm
04-07-2005, 05:59 AM
You need to #include <gl/glut.h>
If you don't have glut get it here (http://xmission.com/~nate/opengl)