From 10:00 CET Friday 22nd November we will adjust how the server works to deal with some recently reported problems. Therefore there may be a load problem, if you experience more problems than usual trying to access the forum then please PM AndyS or any of the moderators so they can inform me.


undefined reference to 'glGetQueryObjectui64vEXT'



  • Hi, I'm trying to use some profiling tools for opengles 2.0 based on GL_GLEXT_PROTOTYPES.
    By now I get the error "undefined reference to 'glGetQueryObjectui64vEXT'"
    I've setted the variable in a lots of places, but I always get this error.

    If the variable is not setted, the the function is not available because the GL_GTEXT_PROTOTYPES is not defined:

    #ifdef GL_GLEXT_PROTOTYPES **// IS NOT DEFINED!!**
    GL_APICALL void GL_APIENTRY glGenQueriesEXT (GLsizei n, GLuint *ids);
    GL_APICALL void GL_APIENTRY glDeleteQueriesEXT (GLsizei n, const GLuint *ids);
    GL_APICALL GLboolean GL_APIENTRY glIsQueryEXT (GLuint id);
    GL_APICALL void GL_APIENTRY glBeginQueryEXT (GLenum target, GLuint id);
    GL_APICALL void GL_APIENTRY glEndQueryEXT (GLenum target);
    GL_APICALL void GL_APIENTRY glQueryCounterEXT (GLuint id, GLenum target);
    GL_APICALL void GL_APIENTRY glGetQueryivEXT (GLenum target, GLenum pname, GLint *params);
    GL_APICALL void GL_APIENTRY glGetQueryObjectivEXT (GLuint id, GLenum pname, GLint *params);
    GL_APICALL void GL_APIENTRY glGetQueryObjectuivEXT (GLuint id, GLenum pname, GLuint *params);
    GL_APICALL void GL_APIENTRY glGetQueryObjecti64vEXT (GLuint id, GLenum pname, GLint64 *params);
    GL_APICALL void GL_APIENTRY glGetQueryObjectui64vEXT (GLuint id, GLenum pname, GLuint64 *params);
    #endif
    

    Could someone helpme with this issue? Any ideas?
    Thanks


Log in to reply