Hey Laurent,
as you suggested I'm now opening a thread for every compiler that doesn't work. The first one is MinGW32 4.8 from
mingw-builds. The apps do in fact compile, but fail to run properly. This minimal example:
#include <SFML/Graphics.hpp>
int main()
{
bool Running = true;
sf::RenderWindow Window;
Window.create(sf::VideoMode(640, 480, 32), "SFML 2 Test");
while (Running)
{
sf::Event tmpEvent;
while (Window.pollEvent(tmpEvent))
{
if (tmpEvent.type == sf::Event::Closed) Running = false;
}
Window.clear(sf::Color::Red);
Window.display();
}
Window.close();
return 0;
}
exits with 0xC0000005.
Call stack:
#0 0046C093 sf::ContextSettings::ContextSettings(this=0x76f52b62, depth=2685440, stencil=0, antialiasing=0, major=0, minor=2) (C:/Users/d10k/Documents/SFML/SFML-2.0rc-sjlj/include/SFML/Window/ContextSettings.hpp:53)
#1 00461D2E sf::priv::WglContext::WglContext(this=0x7829f0, shared=0x0) (D:\developpement\sfml-master\src\SFML\Window\Win32\WglContext.cpp:58)
#2 0045E4E7 sf::priv::GlContext::globalInit() (D:\developpement\sfml-master\src\SFML\Window\GlContext.cpp:105)
#3 0045D350 sf::GlResource::GlResource(this=0x28fc4c) (D:\developpement\sfml-master\src\SFML\Window\GlResource.cpp:53)
#4 0045C21B sf::Window::Window(this=0x28fc4c) (D:\developpement\sfml-master\src\SFML\Window\Window.cpp:47)
#5 00401E6F sf::RenderWindow::RenderWindow(this=0x28fc4c) (D:\developpement\sfml-master\src\SFML\Graphics\RenderWindow.cpp:35)
#6 004015BF main() (C:\Users\d10k\Documents\CPP-Projects\SFML2 Testing\main.cpp:6)
When I change
sf::RenderWindow Window;
Window.create(sf::VideoMode(640, 480, 32), "SFML 2 Test");
to
sf::RenderWindow Window(sf::VideoMode(640, 480, 32), "SFML 2 Test");
the call stack is:
#0 0045BE91 sf::VideoMode::VideoMode(this=0x280, modeWidth=480, modeHeight=32, modeBitsPerPixel=2) (D:\developpement\sfml-master\src\SFML\Window\VideoMode.cpp:50)
#1 00401636 main() (C:\Users\d10k\Documents\CPP-Projects\SFML2 Testing\main.cpp:6)
I hope this helps to possibly fix the problem.
Note: Compiling SFML 2 fails, too, due to some missing libraries. I'm going to try to get it to compile and see if the apps run fine with that version. Unfortunately I have hardly any time for programming at the moment though, which is why this could take a few days
Regards,
dobbi10k
P.S.:spelling mistakes are most likely caused by Win8's malfunctioning spell-check function.