Having trouble with extension libraries

Ok so i believe I’ve installed glew correctly but when I come to use a function (glteximage3d) I get the following error:

C:\Users\chris\Documents\codeblocks\glutsnowmen\rendering.h|263|undefined reference to `__glewTexImage3D’|

Any ideas? Thanks for any help.

Did you actually link to the GLEW libraries?

Maybe not. Will report back.


Let me check this is right:
glew32.lib in the lib folder of mingw
glew.h in the include folder of mingw
glew32.dll in the folder im working in
and in compiler and settings I have linked glew32.

I thought that was right, isn’t it?