• Advertisement

Archived

This topic is now archived and is closed to further replies.

Loading textures in Windows / Linux using GLUT

This topic is 5410 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

Hello, I''ve got a small problem here and I hope someone can give me a hand... and fast if possible My problem is that I need to load textures using GLUT, this I have managed it using a free library that I downloaded from the internet, this library loads TGA files. The problem is that it only works under Windows because it makes use of the "windows.h" library. My question is how can I make it work under Linux too? I need this to work under Linux because it is a project I have to hand in as part of my course... and it they are going to run it under Linux *snif* Heeeeellpppppppppp! Thanks! PS: Any suggestions about which file format to use?? I am using TGA at the moment.

Share this post


Link to post
Share on other sites
Advertisement
I hate to tell you, but you probaly can''t. Unless you are using GNU. GNU works for Linux quite well. You will have to find another library unless you can optimize code.

Scott

Share this post


Link to post
Share on other sites

  • Advertisement