View Full Version : problem with texture

11-23-2003, 12:01 PM
When I try to place a image the compiler
give me these error message, anyone could tell me what's wrong?

GLuint texture[1];
AUX_RGBImageRec *LoadBMP(char *Filename)
D:\robotArm.cpp(17) : error C2143: syntax error : missing ';' before '*'

D:\robotArm.cpp(17) : error C2501: 'AUX_RGBImageRec' : missing storage-class or type specifiers

11-23-2003, 12:59 PM
The error message says that AUX_RGBImageRec does not exist...

Have you included glaux.h or what ever the name of this file is, glaux is an old library that is not part of OpenGL itself you so need a header file and a library/dll to use it.