Updated to latest commit of GLFW 3.0: ERRORS

ololomax wrote on Wednesday, April 17, 2013:

I’ve downloaded and built latest GLFW 3.0 commit (april 16). After that my project, that uses GLFW, starts to crash on 2 of 5 of my test PCs at the very begining. Here’s the errors:

  1. “WGL: Failed to create OpenGL context”
    (PC: Win7 x64, intel i5 2.8GHz, 8 GB RAM, NVIDIA GeForce GTX 480)

  2. “WGL: OpenGL ES requested but WGL_ARB_create_context_es2_profile is unavailable”
    (PC: VMware virtual machine WinXP x32, 512 MB RAM)

Commit dated by march 23 causes no crash on them. The tests also runs succesfully on it. What might be the problem?

elmindreda wrote on Wednesday, April 17, 2013:

The first error is quite worrisome. Does it occur with the GLFW examples as well?

The second is very likely due to VMware not supporting the WGL_ARB_create_context_es2_profile extension. Are you requesting an OpenGL ES context?

ololomax wrote on Wednesday, April 17, 2013:

Problem solved. It was totally my mistake :slight_smile:
I was trying to create a window with “GLFW_OPENGL_ES_API” hint, but the crash were happening before the program has reach the line that requests OpenGL ES API, so I have noticed it just some hours later. This API is not necessary in my project, so I just removed this line from code.
Thanks.