Can anyone give me the correct command to build glew on windows with mingw?
I have tried:
gcc -static glew.c glewinfo.c visualinfo.c -I/path/to/glew/include
but I am getting thousands of linker errors (missing reference).
I can't build with Make because unfortunately the makefile has lots of unix only commands and i don't have cygwin or anything at work.
(alternatively if anyone can point me to a windows 32b build i would be very grateful)
gcc -shared -O2 -Wl,--out-implib=libglew.dll.a -o libGLEW.dll -Iinclude -DGLEW_BUILD glew.c
– Gamosepalous