glew32 link error

I encountered a very strange problem these days: can’t link glew in C++ code. I’ve tried this code but failed, my post in SO:

#include <gl/glew.h>

int main()
{
    glewInit();
    glActiveTexture(GL_TEXTURE0);
    return true;
}

Visual studio 2012 returns error LNK2019: _imp_glewInit

Finally I got the point: glew32 provided in CUDA C:\ProgramData\NVIDIA Corporation\CUDA Samples\v5.5\common\inc\GL is WRONG ! Replace with glew from sourceforge fixes my problem…