Hi!
Been trying to get SFML 2.0 working the last week.
I've tried many things and I am currently using SFML built with cmake for CodeBlocks::MinGW.
The first problems I had was that it didn't link properly, but after fixing that the problem I currently have has stuck through the reinstallations, recompilations, and different builds I've used.
#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;
}
Process terminated with status -1073741819
Some guy thought it to be smart to setup a dual boot with linux but I don't think I'm all into that atm. Going really sad and mad with this since it's really holding up the programming that I really want to do atm.
most likely the problem is with your build of sfml. Im pretty sure it wasn't copiled ok, or you are using diferent settings for your project then you used for compiling your sfml.