So I'm trying to learn OpenGL/SDL development using Code::Blocks.
I've setup GLEW and SLD2 correctly in Code::Blocks according to this tutorial: http://youtu.be/UwpZOwT9nVc
First I set all the correct linker settings for my compiler: -lmingw32 -lSDL2main -lSDL2 -lSDL2_image -lSDL2_mixer -lopengl32 -lglu32 -lglew32 -lglew32mx
and added all the approviate search directories for SDL2...
Then I go into project build options and add the link libraries: GL GLEW SDL2 to Debug and Release
Then in my display class, I include GL/glew.h as done similiarly to this tutorial: http://youtu.be/DkiKgQRiMRU?list=PLEETnX-uPtBXT9T-hD0Bj31DSnwio-ywh
But when I build, I get this error message from my ld.exe file: "cannot find -GL" ... "cannot find -lGLEW"
Am I not putting something in the right folder? What else am I missing?