Answer the question
In order to leave comments, you need to log in
Why can't SFML open an image?
I set the parameter in the form:
image.loadFromFile("images/hero.png")
Everything is fine with the working directory, but in the end it gives an error like in the screenshot
Can you tell me what's wrong?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question