Skip to content

"gluErrorString" is deprecated #22

@Libero0809

Description

@Libero0809

Hi Cem,

I am using Visual Studio 22, OpenGL 3.3, GLFW, and GLAD on windows.
When I use cyGL.h, I get a compile error of "error C3861: 'gluErrorString': identifier not found". It seems that 'gluErrorString' is deprecated in some modern OpenGL.

I currently solve it by adding the 'gluErrorString' function on this page to my code: https://github.com/libigl/libigl/blob/main/include/igl/opengl/report_gl_error.cpp

Is it possible to use other methods, such as compile definitions, to fix that?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions