Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: Can I do this on a pc without OpenGL?  (Read 1510 times)

0 Members and 2 Guests are viewing this topic.

Chrupiter

  • Newbie
  • *
  • Posts: 8
    • View Profile
Can I do this on a pc without OpenGL?
« 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?

Jesper Juhl

  • Hero Member
  • *****
  • Posts: 1405
    • View Profile
    • Email
Re: Can I do this on a pc without OpenGL?
« Reply #1 on: May 06, 2015, 05:47:41 pm »
No.
SFML depends on OpenGL.
No OpenGL; no SFML.

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 10991
    • View Profile
    • development blog
    • Email
AW: Can I do this on a pc without OpenGL?
« Reply #2 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).
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/

Chrupiter

  • Newbie
  • *
  • Posts: 8
    • View Profile
Re: AW: Can I do this on a pc without OpenGL?
« Reply #3 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".

FRex

  • Hero Member
  • *****
  • Posts: 1848
  • Back to C++ gamedev with SFML in May 2023
    • View Profile
    • Email
Re: Can I do this on a pc without OpenGL?
« Reply #4 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?
Back to C++ gamedev with SFML in May 2023

Jesper Juhl

  • Hero Member
  • *****
  • Posts: 1405
    • View Profile
    • Email
Re: Can I do this on a pc without OpenGL?
« Reply #5 on: May 06, 2015, 06:40:04 pm »
Why don't you just try and then tell us?  ;)

 

anything