I am getting an error saying "error: ld returned 1 exit status"
#include <SFML/Graphics.hpp>
#include<iostream>
using namespace std;
int main()
{
sf::RenderWindow window(sf::VideoMode(300, 200), "SFML works!");
// sf::CircleShape shape(100.f);
// shape.setFillColor(sf::Color::Green);
sf::Image image;
image.create(640,480,sf::Color::Blue);
sf::Texture texture;
if(!texture.loadFromFile("car.png"))
return EXIT_FAILURE;
sf::Sprite sprite;
sprite.setTexture(texture);
while (window.isOpen())
{
sf::Event event;
while (window.pollEvent(event))
{
if (event.type == sf::Event::Closed)
window.close();
}
window.clear();
window.draw(sprite);
window.display();
}
return 0;
}