// Load a sprite to display
sf::Texture texture;
if (!texture.loadFromFile(resourcePath() + "cute_image.jpg")) {
return EXIT_FAILURE;
}
sf::Sprite sprite(texture);
Is there anything wrong here? Like I said, I did not touch anything here, they are all generated by creating SFML app.