Ok, i am taking some various Glut and OpenGL tutorials. However, i am having a problem with NeHe's 6th tutorial (NeHe's Tutorial). What its focus is on is Loading Textures, and starting off, i cannot get his functions to run.

I assume they are Glaux functions, or having to do with it. Hopefully.

the code
Code:
AUX_RGBImageRec *LoadBMP(char *Filename)
says Syntax error before '*', if i remember right (i dont have access to my compiler atm, so i am going by memory).
Also,
Code:
FILE *File=NULL;
Gives me an error on the handle "FILE" if i remember right also.

Those, are only a couple of a whole slew of errors, basically anything having to do with loading textures in his tutorial give me problems.


Seeing as i am so noob to all this, and his use of Glaux/Win32 api, and my not using Glaux/Win32, has been a trouble causing point. However its still seeming to be a good learning set of tutorials, just due to his explanations of the more OGL specific code.

Anyway, Hope i gave you enough information to go by, btw i am using Dev C++, 4.9.9.0, and i downloaded the source of that program to try to run it, and obviously it didnt run due to my lack of Glaux.

So, to recap, can someone explain to me how to load textures like the tutorial tried to do, or if the specific code i gave you is not related to Glaux and it is something i am doing, can you explain? Or give me some links?

Any replies are much appreciated, thanks!