lglew32.lib not found?

Hi, I am trying to build a project with Code::Blocks and glew. Here is my code that includes glew / opengl / etc.:

#pragma comment(lib,"opengl32.lib")
#pragma comment(lib,"glew32.lib")
#pragma comment(lib,"lglew32.lib")

#include "../../../../glew-1.5.5/include/GL/glew.h"
#include "../../../../glew-1.5.5/include/GL/wglew.h"

I get this error message:

cannot find -lglew32.lib

What is the correct way to include glew? None of the explanations I have read are working.

Well, if the compiler cant find the glew includes, then it won’t compile your source files. Otherwise, you probably need to setup the correct library directory inside Code::Blocks.

My solution was to stop using Code::Blocks.