Error after glewInit() for OpenGL 3.2 and above with SDL2 - Core context #3

Closed
lemanyk opened this Issue Oct 10, 2013 · 6 comments

Comments

Projects
None yet
4 participants
@lemanyk

lemanyk commented Oct 10, 2013

Here is my code http://pastie.org/8392206

Compile was success, but then on run it fails with error "invalid enumerant"

@nigels-com

This comment has been minimized.

Show comment
Hide comment
@nigels-com

nigels-com Oct 10, 2013

Owner

Is it a core (also called "forward compatible") context?

  • Nigel
Owner

nigels-com commented Oct 10, 2013

Is it a core (also called "forward compatible") context?

  • Nigel
@lemanyk

This comment has been minimized.

Show comment
Hide comment
@lemanyk

lemanyk Oct 10, 2013

sorry, but i don't know
i use glew 1.10, sdl2.0, nvidia 325.15 with opengl 4.3 support, on linux
i see, it's prevalent problem http://www.opengl.org/wiki/OpenGL_Loading_Library#GLEW

lemanyk commented Oct 10, 2013

sorry, but i don't know
i use glew 1.10, sdl2.0, nvidia 325.15 with opengl 4.3 support, on linux
i see, it's prevalent problem http://www.opengl.org/wiki/OpenGL_Loading_Library#GLEW

@nigels-com

This comment has been minimized.

Show comment
Hide comment
@nigels-com

nigels-com Oct 10, 2013

Owner

Indeed, most likely a core context. There was a patch for 1.10.0 that didn't pass QA on Windows.
Perhaps next time around...

  • Nigel
Owner

nigels-com commented Oct 10, 2013

Indeed, most likely a core context. There was a patch for 1.10.0 that didn't pass QA on Windows.
Perhaps next time around...

  • Nigel

@nigels-com nigels-com changed the title from Error after glewInit() for OpenGL 3.2 and above with SDL2 to Error after glewInit() for OpenGL 3.2 and above with SDL2 - Core context Feb 19, 2015

@russelltg

This comment has been minimized.

Show comment
Hide comment
@russelltg

russelltg Jun 5, 2015

Running a similar app under gDEBugger, it says that the error is on glGetString(GL_EXTENSIONS), which is a deprecated function.

Running a similar app under gDEBugger, it says that the error is on glGetString(GL_EXTENSIONS), which is a deprecated function.

@karolherbst

This comment has been minimized.

Show comment
Hide comment
@karolherbst

karolherbst Dec 24, 2015

well now divinitiy original sin triggeres that with mesa drivers

well now divinitiy original sin triggeres that with mesa drivers

@nigels-com

This comment has been minimized.

Show comment
Hide comment
@nigels-com

nigels-com Nov 13, 2016

Owner

Probably resolved with GLEW 2.0.0, closing.
Thanks for the report.

Owner

nigels-com commented Nov 13, 2016

Probably resolved with GLEW 2.0.0, closing.
Thanks for the report.

@nigels-com nigels-com closed this Nov 13, 2016

chkob pushed a commit to chkob/glew that referenced this issue Feb 23, 2018

Merge pull request #3 from ebraminio/binary
Use CMAKE_BINARY_DIR instead CMAKE_SOURCE_DIR for setting build output directory
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment