Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: CodeBlock App crash with sfml 2.0  (Read 1610 times)

0 Members and 1 Guest are viewing this topic.

ZDan

  • Newbie
  • *
  • Posts: 1
    • View Profile
    • Email
CodeBlock App crash with sfml 2.0
« on: May 01, 2013, 03:52:34 am »
hello, I have a problem with version 2 to run crash. The report windows

Problem signature:
   Problem Event Name: APPCRASH
   Application Name: sfml2f.exe
   Application Version: 0.0.0.0
   Timestamp implementation: 51807223
   Faulting module name: SFML-window-2.dll
   Fault Module Version: 0.0.0.0
   Timestamp Fault Module: 516149c9
   Exception Code: c0000005
   Exception Offset: 00002f3d
   OS Version: 6.1.7600.2.0.0.256.48
   Locale ID: 13322
   Additional Information 1: 0a9e
   Additional Information 2: 0a9e372d3b4ad19135b953a78882e789
   Additional Information 3: 0a9e
   Additional Information 4: 0a9e372d3b4ad19135b953a78882e789

Run 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;
}
 
sorry for my bad english.
« Last Edit: May 01, 2013, 03:55:09 am by ZDan »

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 11034
    • View Profile
    • development blog
    • Email
Re: CodeBlock App crash with sfml 2.0
« Reply #1 on: May 01, 2013, 09:55:14 am »
What exact version of SFML 2.0 are you running? Are you mixing debug and release mode?
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/

 

anything