More setup! Joy!
After setting up MinGW from our previous post, now we want to add a package called freeglut to our MinGW directory so we can some graphics to our programs.
- Download freeglut for MinGW from (http://www.transmissionzero.co.uk/computing/using-glut-with-mingw/)
- Copy the contents into C:\MinGW (or wherever you installed MinGW)
Let’s try a sample program:
Then let’s compile it.