I need to load a texture in .dds format into an opengl application. I downloaded from nvidia developer’s page their nv_dds.cpp and nv_dds.h files which do just that. However when I try to compile nv_dds.cpp I get the compilation error
(I am compiling in a linux machine)
nv_dds.cpp: 496 ‘GL_TEXTURE_RECTANGLE_NV’ undeclared (first use this function)
Any idea what the problem is?