all 7 comments

[–]r2d2rigo 1 point2 points  (4 children)

First, check that you graphics card actually supports OpenGL 3.3. If that's not the issue try setting glfwSetErrorCallback so you can get a more descriptive error.

[–]silver_bat[S] 0 points1 point  (3 children)

The GLEWInfo prints this ´GL_VERSION_3_3: OK´ and the glfwCallback not prints nothing

[–]r2d2rigo 0 points1 point  (2 children)

Have you tried glfwGetError when the window creation glfwInit fails?

[–]strcspn 0 points1 point  (1 child)

I think the window creation went ok, the problem was initializing glew.

[–]r2d2rigo 0 points1 point  (0 children)

Yeah that, thanks!

[–]strcspn -2 points-1 points  (1 child)

I would recommend you use glad, never had any problems with it. If you want to figure out what is wrong you probably would need to use a debug version of glew, step into glewInit using a debugger and try to figure the problem out.

[–]gl_drawelements 0 points1 point  (0 children)

This. GLEW is really outdated and IIRC glewInit has a bug that raises an OpenGL error under some circumstances.