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

Author Topic: OpenGL: Version 0.0  (Read 7975 times)

0 Members and 6 Guests are viewing this topic.

herotom99

  • Newbie
  • *
  • Posts: 23
    • View Profile
Re: OpenGL: Version 0.0
« Reply #15 on: March 24, 2016, 08:36:41 pm »
When go in the files drivers I have (about OpenGL):

For 32 bits:
-NvIFROpenGL.dll  (version: 10.18.13.6451)
-OpenCL.dll (version: 1.2.11.0)
-nvopencl.dll (version: 6.14.13.6451)

And 64 bits:
-OpenCL64.dll (version: 1.2.11.0)
-nvopencl.dll (version: 6.14.13.6451)

I don't know if it can help

binary1248

  • SFML Team
  • Hero Member
  • *****
  • Posts: 1405
  • I am awesome.
    • View Profile
    • The server that really shouldn't be running
Re: OpenGL: Version 0.0
« Reply #16 on: March 24, 2016, 08:40:11 pm »
According to "the internet" e.g. here, 364.51 seems to have a bunch of bugs in it... Try reverting to an older more stable driver and trying again.
SFGUI # SFNUL # GLS # Wyrm <- Why do I waste my time on such a useless project? Because I am awesome (first meaning).

herotom99

  • Newbie
  • *
  • Posts: 23
    • View Profile
Re: OpenGL: Version 0.0
« Reply #17 on: March 24, 2016, 08:42:21 pm »
I have already tried to rollback the driver to the previous but it doesn't work, I will try to use a "more" old driver.

herotom99

  • Newbie
  • *
  • Posts: 23
    • View Profile
Re: OpenGL: Version 0.0
« Reply #18 on: March 24, 2016, 10:16:30 pm »
I have installed different drivers:
-362.00
-361.91
-358.50
then come back to 364.51 but it doesn't works.

herotom99

  • Newbie
  • *
  • Posts: 23
    • View Profile
Re: OpenGL: Version 0.0
« Reply #19 on: March 24, 2016, 11:07:50 pm »
I have downloaded OpenGL Extensions Viewer, make a complete test and there is no problem to create a context 4.4. It's very stange. I think it's not a problem of driver because everything else works...

binary1248

  • SFML Team
  • Hero Member
  • *****
  • Posts: 1405
  • I am awesome.
    • View Profile
    • The server that really shouldn't be running
Re: OpenGL: Version 0.0
« Reply #20 on: March 24, 2016, 11:20:04 pm »
You never mentioned what version of SFML you are using... a lot of these kinds of bugs have been fixed by now.
SFGUI # SFNUL # GLS # Wyrm <- Why do I waste my time on such a useless project? Because I am awesome (first meaning).

herotom99

  • Newbie
  • *
  • Posts: 23
    • View Profile
Re: OpenGL: Version 0.0
« Reply #21 on: March 24, 2016, 11:23:42 pm »
SFML 2.3.2 Visual Studio 2013 32bits
I think it's the last version

herotom99

  • Newbie
  • *
  • Posts: 23
    • View Profile
Re: OpenGL: Version 0.0
« Reply #22 on: March 24, 2016, 11:56:26 pm »
Another thing, I have tried the OpenGL example in the "examples" file.
It works and I tried to recreate the program with the "OpenGL.cpp". It compiled
but it crashs when I launch the program.
It spams "Failed to activate the window's context"

binary1248

  • SFML Team
  • Hero Member
  • *****
  • Posts: 1405
  • I am awesome.
    • View Profile
    • The server that really shouldn't be running
Re: OpenGL: Version 0.0
« Reply #23 on: March 25, 2016, 12:39:26 am »
That means that the error has something to do with how you build your code. Double-check everything again. Don't assume that something isn't a problem just because it does not lead to any obvious effects.
SFGUI # SFNUL # GLS # Wyrm <- Why do I waste my time on such a useless project? Because I am awesome (first meaning).

herotom99

  • Newbie
  • *
  • Posts: 23
    • View Profile
Re: OpenGL: Version 0.0
« Reply #24 on: March 25, 2016, 10:39:49 am »
I found the problem !

It was about my opengl32.dll
I used an old .dll because it was the same on my laptop.
I took the opengl32.dll in C:/Windows/system32/ and now it work !

I have also tried to use the "new" .dll on my laptop to be sure that I can switch between two pc without having to change the .dll and it looks to works correctly.

Thanks a lot for your help and your time !
You are awesome (first meaning)  :D !
« Last Edit: March 25, 2016, 10:48:46 am by herotom99 »

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 11034
    • View Profile
    • development blog
    • Email
AW: OpenGL: Version 0.0
« Reply #25 on: March 25, 2016, 02:02:09 pm »
Don't copy the OpenGL DLL. It gets installed by your driver and will automatically be available on your system...
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/