UNDER CONSTRUCTION
Downloads:
- MinGW (- for gcc, windres, mingw32-make, msys, cp, and rm.2122 GLUT for Win32 ([http://www.xmission.com/~nate/glut.html) - a zip file of the GLUT for Win32 source files.
- makefile (- a makefile to make the GLUT for Win32 55AFTER56 two small changes have been made to the GLUT for Win32 source files.2526 OPTIONAL: get-path-info.js ([http://www.joshuaburkholder.com/glut/get-path-info.js) - a Windows script file to troubleshoot DLL and EXE conflicts caused by multiple folders in PATH environment variable having DLLs or EXEs with the same name.
Outline:
- Download and Install MinGW
- Download and Unzip the GLUT for Win32 Source Code
- Download the Makefile
- Make Two Modifications to the GLUT for Win32 Source Code
- Make the GLUT for Win32
- Install the GLUT for Win32
- Test the GLUT for Win32
Procedure:
1) Download and Install MinGW
~~~~TODO~~~~
2) Download and Unzip the GLUT for Win32 Source Code
~~~~TODO~~~~
3) Download the Makefile
~~~~TODO~~~~
Right click the following link and save the file:
http://www.joshuaburkholder.com/glut/makefile
Save the makefile to the root of the unzipped GLUT for Win32 folder (i.e. glut-3.7.6/ where the README is located).
4) Make Two Modifications to the GLUT for Win32 Source Code
Make the following modifications:
1. Add the following lines to include/GL/glut.h starting at line 12:
#ifdef __MINGW32__
#define _STDCALL_SUPPORTED
#endif
2. Comment out line 21 in lib/glut/win32_winproc.c so that it reads:
//#include <crtdbg.h>
5) Make the GLUT for Win32
~~~~TODO~~~~
In MSys (the MinGW Shell ... where /mingw is defined), cd to the root of the GLUT for Win32 folder (i.e. glut-3.7.6/ where the makefile was saved).
mingw32-make
6) Install the GLUT for Win32
~~~~TODO~~~~
mingw32-make install
7) Test the GLUT for Win32
~~~~TODO~~~~
mingw32-make testReferences:
- Using GLUT with MinGW (http://www.transmissionzero.co.uk/computing/using-glut-with-mingw/)
- HOWTO Use Mark J. Kilgard's OpenGL Utility Toolkit (GLUT) with MinGW (http://www.mingw.org/wiki/HOWTO_Use_Mark_J_Kilgards_OpenGL_Utility_Toolkit_GLUT_with_MinGW)
- MSVC and MinGW DLLs (http://www.mingw.org/wiki/MSVC_and_MinGW_DLLs)
- MS resource compiler (http://www.mingw.org/wiki/MS_resource_compiler)


Recent comments
2 years 16 weeks ago
2 years 16 weeks ago
2 years 49 weeks ago
2 years 49 weeks ago
2 years 49 weeks ago
2 years 49 weeks ago
2 years 49 weeks ago
2 years 49 weeks ago
2 years 50 weeks ago
3 years 5 weeks ago