Niezdefiniowane odwołania do funkcji _imp ____ glew * z minGW gcc

Usiłuję skompilować stosunkowo prosty program OpenGL przy użyciu MinGW na systemie Win 7 x64 i ciągle otrzymuję niezdefiniowane odniesienia do kilku funkcji GLEW. Ustawiłem biblioteki tak, aby łączyły się z programami i szukałem jakiejkolwiek biblioteki, której mogę brakować na mojej liście, ale dane wyjściowe z linkera nadal wyglądają tak:

16:35:50 **** Incremental Build of configuration Debug for project test ****
Info: Internal Builder is used for build
gcc -LD:/DEV/openGL/lib/x86 -LD:/DEV/x86/lib -o test.exe test.o -lfreeglut -lglaux -lglew32s -lglu32 -lglfw3 -lopengl32 -lgdi32 
test.o: In function `init':
E:\Development\C\test\Debug/../test.c:32: undefined reference to `_imp____glewGenVertexArrays'
E:\Development\C\test\Debug/../test.c:33: undefined reference to `_imp____glewBindVertexArray'
E:\Development\C\test\Debug/../test.c:35: undefined reference to `_imp____glewGenBuffers'
E:\Development\C\test\Debug/../test.c:36: undefined reference to `_imp____glewBindBuffer'
E:\Development\C\test\Debug/../test.c:37: undefined reference to `_imp____glewBufferData'
test.o: In function `display':
E:\Development\C\test\Debug/../test.c:45: undefined reference to  `_imp____glewBindVertexArray'
test.o: In function `main':
E:\Development\C\test\Debug/../test.c:61: undefined reference to `_imp__glewInit@0'
collect2: ld returned 1 exit status

16:35:50 Build Finished (took 675ms)

Próbowałem z -lglew32 i -lglew32s w kilku różnych konfiguracjach, myśląc, że być może w glew32 były definicje, których nie było w glew32, a to nie pomogło. Jakieś wskazówki co do tego, czego mi brakuje, lub czegoś, co przeoczyłem?

questionAnswers(1)

yourAnswerToTheQuestion