SFML community forums

Help => General => Topic started by: Chrupiter on May 06, 2015, 05:46:23 pm

Title: Can I do this on a pc without OpenGL?
Post by: Chrupiter on May 06, 2015, 05:46:23 pm
I'm preparing a school project, in this project I use sfml to draw with the mouse (like paint) on a 200x200 window, the problem is that school's computers don't have OpenGL, is it possible to do what I want to without it?
Title: Re: Can I do this on a pc without OpenGL?
Post by: Jesper Juhl on May 06, 2015, 05:47:41 pm
No.
SFML depends on OpenGL.
No OpenGL; no SFML.
Title: AW: Can I do this on a pc without OpenGL?
Post by: eXpl0it3r on May 06, 2015, 05:54:49 pm
What OS do these PC run, because I doubt you have no OpenGL available.

Otherwise SFML is based on OpenGL, thus you can't use the graphics (and possibly the window) module. Instead you might want to use something else (e.g. on Windows GDI+ or DirectX).
Title: Re: AW: Can I do this on a pc without OpenGL?
Post by: Chrupiter on May 06, 2015, 06:31:42 pm
What OS do these PC run, because I doubt you have no OpenGL available.
Computers have win8 installed, but teachers never cared to check OpenGL drivers, they actually like it this way so that students can't play games.
The error is like "An internal OpenGL call failed in Texture.cpp".
Title: Re: Can I do this on a pc without OpenGL?
Post by: FRex on May 06, 2015, 06:34:42 pm
Does SFML run on ANGLE at all or with minor changes ( https://code.google.com/p/angleproject/ )? Has anyone ever looked into ANGLE as possible solution/option for Windows, just like we now have GL/ES choice in cmake?
Title: Re: Can I do this on a pc without OpenGL?
Post by: Jesper Juhl on May 06, 2015, 06:40:04 pm
Why don't you just try and then tell us?  ;)