PDA

View Full Version : Undefined commands



kabrit
11-07-2001, 06:20 PM
I am using the opengl programming guide to learn how to program with opengl. In the first coding example the following two lines

gluInitDisplayMode(GLUT_SINGLE | GLUT_RGB);
gluInitWindowSize(250,250);

are in the code, but after getting the glut libraries, these commands are still undefined. Where are the libraries for these two commands.

krishna
11-07-2001, 07:04 PM
You need to use glut32.lib.Can you send
error messages so that we could help you in
resolving those symbols.

zed
11-07-2001, 09:03 PM
gluInitDisplayMode(GLUT_SINGLE | GLUT_RGB);
gluInitWindowSize(250,250);

typo's
glutInit..
...^ (no t)

[This message has been edited by zed (edited 11-07-2001).]