Sunday, 6 September 2020

Use MinGW and FreeGlut to write graphics programs for Windows!!

 

 

MinGW install with GCC-G++ :

http://www.mingw.org/

Download FreeGlut version 2.8 +

 https://www.transmissionzero.co.uk/files/software/development/GLUT/older/

 Compile the examples using e.g :

 gcc -o stars.exe -Wall stars.c glut32.lib -lopengl32 -lglu32 -lfreeglut 


 https://www.opengl.org/archives/resources/code/samples/glut_examples/examples/examples.html

No comments:

Post a Comment