Use GLUT and GLEW to use OpenGL shaders in the Codeblocks environment
At compile time, report:
undefined reference to `_imp__glewInit’
error
Use the following Settings:
It is ok
Reproduced in: https://www.cnblogs.com/vilyLei/articles/3356711.html