Recently, when I tried to compile a project. I got two errors on a line of code:

```
glTexImage3D(GL_TEXTURE_3D, 0, internalFormat, dim.x, dim.y, dim.z, 0, inputFormat, type, data);

```

The errors are:

```
Error 2 error C2227: left of '->__glewTexImage3D' must point to class/struct/union/generic type

```

and 

```
Error 3 error C3861: 'glewGetContext': identifier not found 

```

I'd like to know does anyone have such error for glew before or have some ideas to solve it?