Texture aplication
Hi, I am new to open gl and I was trying to make this turotial work on texture application.
http://nehe.gamedev.net/data/lessons/lesson.asp?lesson=06
That is the tutorial. However i revieve multiple errors first of which being :
syntax error before "keys"
That doesn't make any sense because I have the exact same code in a previous code and it works fine. I am using codeblocks open gl app.
Is it that line?
bool keys[256]; // Array Used For The Keyboard Routine
Are the header files found, i.e. is your include directory set correctly?
bool keys[256]; // Array Used For The Keyboard Routine
Are the header files found, i.e. is your include directory set correctly?
Quote:Original post by Lord_Evil
Is it that line?
bool keys[256]; // Array Used For The Keyboard Routine
Are the header files found, i.e. is your include directory set correctly?
The only include I dont unclude is glaux because it sais I dont have it. I wouldve normally got it but the previous tutorial worked fine without it. The previous tuorial uses the exact same beginning lines of code. Thats why i dont understand it.
I guess you have a single file in your project, so if the code is exactly the same there must be some problem with your project settings.
Quote:Original post by Lord_Evil
I guess you have a single file in your project, so if the code is exactly the same there must be some problem with your project settings.
Must be.
Maybe you could post your compiler output so we can ourselves (use the source tags, if it's much).
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement