When I try to load an image using LoadFromFile(), I get the following error message:
Failed to load image "protagonist.png". Reason : can't fopen
The image is located in the same directory as the binary (something I eventually want to avoid). I've also tried relative paths without success.
I'm developing using Xcode, and my SFML version is 1.4. I've tried other image formats as well (though this is unlikely the problem, since it complains about that it can't even open the file).
Any ideas? All help is appreciated!