An easy way to get the equivalent of GLUT compiled with MinGW is to use freeglut. See the Community_Supplied_Links page and look under Libraries for the link to the freeglut home page and source code. Build with commands such as the following:
NOTE: This page is based on the following master page:
- MinGW and MSYS ( http://sourceforge.net/projects/mingw/ ) - for gcc, windres, mingw32-make, msys, cp, and rm.