SFML community forums

Help => Window => Topic started by: dzzank on May 19, 2014, 07:13:33 pm

Title: SFML errors
Post by: dzzank on May 19, 2014, 07:13:33 pm
Hello!
I'm having some problems with some SFML code. I'm getting the following errors:
"Failed to activate the window's context" x2
"Failed to initialize GLEW. Missing GL version" x8

Here is the code:
(click to show/hide)
Title: Re: SFML errors
Post by: Ixrec on May 19, 2014, 08:04:35 pm
Since it sounds like something's missing from your system, we need more information: What system are you running this on? What compiler? Exactly which SFML binaries? Static/dynamic linking? Did you follow the tutorials?

Also, almost all of those comments are completely redundant and merely make your code harder to read.  Only comment things that aren't already obvious.

And try using an enum instead of that a/b/c thing.
Title: Re: SFML errors
Post by: dzzank on May 19, 2014, 10:03:55 pm
I'm using Windows 7 Home Premium, compiling wirh MinGW 4.8.1, SFML 2.1, static linking.
It's the first time I'm having this kind of problems though I've been using SFML for about 2 months.
Title: AW: SFML errors
Post by: eXpl0it3r on May 20, 2014, 08:07:06 am
Try updating or installing your graphics card driver.