• Advertisement
Sign in to follow this  

Texture aplication

This topic is 3316 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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.

Share this post


Link to post
Share on other sites
Advertisement
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?

Share this post


Link to post
Share on other sites
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.

Share this post


Link to post
Share on other sites
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.

Share this post


Link to post
Share on other sites
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.

Share this post


Link to post
Share on other sites
Maybe you could post your compiler output so we can ourselves (use the source tags, if it's much).

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement