Welcome, Guest. Please login or register. Did you miss your activation email?

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - maninboots

Pages: [1]
1
Graphics / Image.LoadFromFile("sprite.tga") Won't load the im
« on: August 20, 2007, 09:02:19 pm »
Hello!  I'm new to SFML but so far it looks great, except that I can't get my images to load properly.
The program Builds just fine but it always returns the "Failed to load image from file" error.

I've tried TGAs, JPGs, PNGs, even 1bit BITMAPS, but nothing works.
I'm keeping my files in: [ \Visual Studio 2005\Projects\{name}\debug\ ], and that should be right, right ? :P
I've even tried to change the image line to "C:\\sprite.tga" and moving the picture to the root map but it doesn't work.

I've tried using my own code and the tutorial code. Please help!

Regards Mattias from Sweden ! :D

Pages: [1]
anything