SFML community forums
Help => Window => Topic started by: maximusprimus on December 26, 2016, 06:42:09 pm
-
Hi! I upgraded the SFML version from an older project and got some weird console errors so I created a brand new empty project following the tutorial and still got the same errors. Also, the window is blank...
(https://snag.gy/el4S9s.jpg)
I don't think my configurations are wrong since I checked em out a few times. According to other posts the Warning is not important (http://en.sfml-dev.org/forums/index.php?topic=18461.0) but the other errors seem to be related to threading, but I'm not doing any threading, I simply copy pasted the example from the tutorial as such :
#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;
}
I am also not getting any other errors in my Visual studio output.
I am using VS community 2015 and picked the corresponding library (Visual C++ 14 (2015) - 32-bit)
[/size]
[/size]Anybody have an idea where these errors come from ?
-
You're most likely using half a decade old GPU driver version.
What kind of GPU do you have?
What's the exact driver version?
-
So yeah, my GPU is old and I forgot to update my drivers a couple months ago after I rebuilt my computer.
For your information, my GPU is nvidia geforce gtx 550 ti
and my driver version was very old.
After update, works perfectly. Thanks!
And by the way, I'm not receiving any emails from this site concerning forgotten passwords (since at least 3 hours ago), I just created a new account because of that. I also tried to get an email from this account and still haven't received it, inbox or junk.
-
And by the way, I'm not receiving any emails from this site concerning forgotten passwords (since at least 3 hours ago), I just created a new account because of that. I also tried to get an email from this account and still haven't received it, inbox or junk.
It appears our mail server is (again) being blocked by hotmail. We'll try to resolve it as quickly as possible. If you PM me your other account, I could reset the password manually for you.