I am angry, I lost 2 days for this library. Now I am sure IT ISN'T POSSIBLE TO LOAD JPG/BMP/PNG FILES using this library IN VISUAL STUDIO 2010 !! ilLoadImage throws error: IL_INVALID_EXTENSION ! Am I lonly with this error - NO - here are relative topics:

http://sourceforge.net/projects/openil/forums/forum/13560/topic/4045391

http://sourceforge.net/tracker/?func=detail&aid=2990437&group_id=4470&atid=204470

http://www.gamedev.net/topic/586783-need-help-using-soil/

and much more

What are doing authors to correct this bug ? ANSWER: NOTHING ! I have been written to them and 0 answer.
Now I use SDL library which works !