Hi, sorry for not open a new thread, I don't see the need because I think I have the same problem with SFML 2.2 in my Desktop PC.
Normally I work on my laptop and SFML 2.2 works perfect. Yesterday I tried to run my project in my Desktop PC and doesn't work.
If I compile with SFML 2.1 runs OK, but if I try to SFML 2.2, compiles fine but crash on run.
Desktop info:
Windows XP Home Edition SP3
CPU Intel Pentium 4 2.53 GHz
RAM 1.5 GB
ATI radeon 9000 Pro graphics card (driver update at least version, I think)
I use: Codeblocks 13.12 (codeblocks-13.12mingw-setup.exe) with GCC 4.7.1 TDM (SJLJ) 32-bit
SFML 2.2 version GCC 4.7.1 TDM (SJLJ) 32-bit (SFML-2.2-windows-gcc-4.7.1-tdm-32-bit)
For example if I try with this simple 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(sf::Color::Red);
window.draw(shape);
window.display();
}
return EXIT_SUCCESS;
}
Compiles fine but doesn't run. If I comment the drawing call (
window.draw(shape)), works perfect and show a red window. So the problem it's on rendering.
I debugged a simple code and crashes on render function. I get this error messages:
Error while reading shared library symbols for C:\Archivos de programa\CodeBlocks\MinGW\bin\libstdc++-6.dll
Process terminated with status -1073741510
Process terminated with status -1073741819
Screenshot with error message and output verbose build information:
Any idea what I'm doing wrong? Thanks!