Archived

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

Moonchild7

Loading textures in Windows / Linux using GLUT

Recommended Posts

Moonchild7    122
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
sSimontis    100
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