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

Author Topic: Failed to share Open Gl context problem in the first sample  (Read 902 times)

0 Members and 1 Guest are viewing this topic.

Carlmycol

  • Newbie
  • *
  • Posts: 4
    • View Profile
    • Email
Failed to share Open Gl context problem in the first sample
« on: February 23, 2015, 02:59:14 am »
Hello everybody,

Today I just downloaded SFML and started to program some basic things. I followed very carefully the steps to get SFML into MingW+Code::Blocks but I've got this issue: when I open the sample given in the installation tutorial I get a "Failed to share Open Gl context" in the cmd window.

I asked to google but I don't find anything. No, the message appears when I run the executable, not when I close a window. Moreover, I'm just opening a window and drawing a circle.

The code is here http://www.sfml-dev.org/tutorials/2.2/start-cb.php

PD: I can draw some basic shapes as circles and rectangles also I can move them over the window with no problem, except the one I mentioned above.

Do you have any idea of what is happening? Can this issue make more problems in the future?

Maybe I need to create the project as OpenGL project or add a dll in the executable folder?

I would appreciate any help, really.

Greetings!

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 11032
    • View Profile
    • development blog
    • Email
AW: Failed to share Open Gl context problem in the first sample
« Reply #1 on: February 23, 2015, 07:55:50 am »
Is your GPU driver uptodate? (Don't guess, check!)
What GPU do you have?
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/

Carlmycol

  • Newbie
  • *
  • Posts: 4
    • View Profile
    • Email
Re: Failed to share Open Gl context problem in the first sample
« Reply #2 on: March 19, 2015, 12:15:34 am »
Hello colleague, thanks for support.

Yes. My drivers were not up to date. I had to install all the drivers needed!

Greetings! 8)

PD: I've been using the SFML last days, I'll show what I've done, I had some issues too. I guess dirvers problems again. I'll open a new post

Thanks again

 

anything