Loading a Bitmap for Texture mapping

I’s trying to map a texture on a floor, only i can’t load my texture from a bitmap. Can somebody tell me how to load a bitmap in Linux?

you can try this code :
http://belzel.free.fr/loadbmp/loadbmp.zip
it loads a bmp file and creates a texture with the content of the bmp.