IS 2780 Summer 2007
Class Links
Assignments & Notes
Compilation of the assignments
- Compiling the assignment source code in Windows:
- Starting from an empty win32 console application
- In project settings -> c/c++ -> preprocessor (category)
add path to glut.h
- In project settings -> link -> input (category)
add path to glut32.lib
Note that glut32.dll should either be in the same directory as your binary,
or in the system dll directory.
A copy of glut32.dll is here
- Compiling the assignment source code in UNIX/Linux:
gcc asn00.c -lglut -lGLU -lGL -lXmu -lXi -lX11 -lm -L/usr/X11R6/lib
- Compiling the assignment source code in Mac OS X
Use the follow frameworks:
-framework GLUT -framework OpenGL
-framework Foundation -framework CoreServices
-framework ApplicationServices -framework Carbon
Some useful OpenGL Links