I am having the following link errors regarding glew library when compiling an opengl 2.1 program on code blocks,mingw.
obj\\Debug\\LUtil.o||In function `Z6rende
Link the library glew32s.lib also. Put this linker at the top of linker list.
This can be caused by attempting to use an MSVC lib under mingw. Either download a library compiled for mingw, or compile your own.