Well... I cant get this to work...
*Sigh*...
When you say "I can't get this to work" and expecting us to find the solution, that just doesn't help.
When you write a game, you usually create the 3D models with a 3D modelling program such as Blender. These are then saved for later use.
Then in the program's code, it loads the model from the file when it needs it, parses the data, and saves the resulting data into memory. This data is then used to draw the model to the screen.
The OpenGL SDK will be installed in:
<compiler directory>/include/gl.h glu.h glut.h
<compiler directory>/libs/glut32.lib glu32.lib
If you may have noticed,
GLUT is not part of the OpenGL SDK and may have to be downloaded, as it's very helpful when creating OpenGL windows and other interface tasks.
The most important tip when compiling OpenGL apps is to make sure that the lib files (glut32.lib/glu32.lib) are linked with the project. Instructions for adding these files to the link list are compiler-specific, so look for a list of .lib files, and just add glu32.lib and glut32.lib to that list.