I\'m trying to compile a program I am doing from a tutorial which is written in C++ and open gl 2.1. However, I don\'t like FreeGLUT so I decided to change the windowing pro
Use #pragma comment(lib, "glew32.lib")
after including the libraries.
glew32.lib
Undefined references (name mangling) of the *_imp__*
variety are caused by an attempt to link against a library compiled by / for Visual Studio / MSVC.
The solution is to download binaries or compile for your specific platform (often this comes up in relation to mingw32).
http://julianibarz.wordpress.com/2010/05/12/glew-1-5-4-mingw32/
Got GLEW for mingw32 - project compiles fine.