First, off I am not the creator of GLEW and this is not the official page of it. The primary GLEW page is

I originally did not want to put this up. I had produced a video teaching people how to compile glew for themselves. The point was so they wouldn't have to rely on others to get the latest version. I recommend each individual learn to compile the code themselves rather than wait for someone like me to hand it to them. The directions are contained in the following video and text tutorial. older versions up to 1.13
How to compile GLEW with minGW without Make ormsys new glew 2.0.0
How to compile GLEW 2.0.0 with mingw-w64 new glew 2.0.0
how to setup Codeblocks, Mingw-w64,SDL2,GLEW 2.0 & opengl 3.3 and above new glew 2.0.0 was written for older versions up to 1.13 so there are some changes like using new bat file

You can download my compiled versions here now. They have been compiled for mingw.
mingw-w64-glew-2.0.0 for 64bit
mingw-glew-2.0.0 for 32bit

mingw-w64-glew-2.1.0 for 64bit
mingw-glew-2.1.0 for 32bit

The .dll and .dll.a files are in the lib directory.
The .o files are in the src directory.

The batch file for compiling glew 2.0.0 with mingw and mingw-64
compile.64.bat for 64bit
compile.bat for 32bit

There are two issue that people usually have when it comes to compiling GLEW. The first is the failure to follow directions and or skip over stuff thinking they done that part already. The second part is having something like cygwin on thier system and in the command line which interfers with mingw.


The original batch file was provided by Moritz Burkhardt at for compiling glew up to 1.13
compile.bat old 32bit bat file