Recently I learned that functions such as glGenerateMipmap() on the OpenGL API need to be loaded by specific OS. GLEW is a wrapper which is supposed to do the work for you for this very purpose. And so I added GLEW to my project. However, when I compile the function in my code, it gives the error:
undefined reference to `_imp____glewGenerateMipmap'|
I thought this would be a linker error but ever other gl functions so far works fine. In fact, I have been working on this OpenGL project for a while with no linker errors. Could this be a bug? Using Codeblocks, Windows 7 64 bit.