#Configuration
PC - CodeBlocks
- Download and install - freeglut
- http://freeglut.sourceforge.net/
- C:\MinGW\freeglut
- Linker
- Settings->Compiler and debugger ... -> Linker settings
- -lOpenGL32 -lglu32 -lfreeglut
- Project Build Options
- Compiler: path to freeglut include
- Linker: path to freeglut lib
- Settings->Compiler and debugger ... -> Search directories *C:\MinGW\freeglut\include
- Include the following file
- <GL/freeglut.h>
- freeglut tutorial
Mac - OSX
- framework GLUT -framework openGL -framework Cocoa