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?
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?
Problem solved. It was totally my mistake :)
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.
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.