For linux install "freeglut3-dev" or "freeglut-devel" and to make a application on the command line us these linker options: -lGL -lGLU -lglut -lm here "-lm" is required for linking libm (math library?) For Windows idk, google it