Hi everyone
I’m trying to load image data from .dat file then to using it as a texture, anyway
after loading the data I tried using glTexImage2D the program runs well but the output does not look like supposed to
so I’m trying to to use glTexImage3D but I get the following error
rror LNK2001: unresolved external symbol __imp____glewTexImage3D
I’m using visual studio 2008
this is the code when I’m using 2D and I’m not getting any errors
glTexImage2D(GL_TEXTURE_2D,
0,
GL_RGB,
sizeX,
sizeY,
sizeZ,
0,
GL_RGB,
GL_UNSIGNED_BYTE,
TempData);
and here is the code when I try to use 3D
glTexImage3D(GL_TEXTURE_3D,
0,
GL_RGBA,
sizeX,
sizeY,
sizeZ,
0,
GL_RGBA,
GL_UNSIGNED_BYTE,
TempData);
hope someone can help
thanks