PDA

View Full Version : Having trouble with extension libraries



chr15chr15
09-17-2011, 06:46 AM
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\re ndering.h|263|undefined reference to `__glewTexImage3D'|

Any ideas? Thanks for any help.

Alfonse Reinheart
09-17-2011, 11:36 AM
Did you actually link to the GLEW libraries?

chr15chr15
09-17-2011, 11:46 AM
Maybe not. Will report back.

cheers

chr15chr15
09-17-2011, 12:02 PM
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?

cheers