1
General / libgcc_s_sjlj-1.dll was not found code blocks
« on: March 27, 2022, 11:35:08 am »
hi,im a rookie in SFML,i have a problem,when i try to run my program,windows gave me this errore "libgcc_s_sjlj-1.dll not found" and i dont know how to do,sorry for my bad english,but i am italian
there the code:
sorry for the image in italian
there the code:
#include <SFML/Graphics.hpp>
int main()
{
sf::RenderWindow window(sf::VideoMode(200, 200), "SFML works!");
sf::CircleShape shape(100.f);
shape.setFillColor(sf::Color::Green);
while (window.isOpen())
{
sf::Event event;
while (window.pollEvent(event))
{
if (event.type == sf::Event::Closed)
window.close();
}
window.clear();
window.draw(shape);
window.display();
}
return 0;
}
int main()
{
sf::RenderWindow window(sf::VideoMode(200, 200), "SFML works!");
sf::CircleShape shape(100.f);
shape.setFillColor(sf::Color::Green);
while (window.isOpen())
{
sf::Event event;
while (window.pollEvent(event))
{
if (event.type == sf::Event::Closed)
window.close();
}
window.clear();
window.draw(shape);
window.display();
}
return 0;
}
sorry for the image in italian