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
This can be caused by attempting to use an MSVC lib under mingw. Either download a library compiled for mingw, or compile your own.