[mythtv-commits] Ticket #10126: udefined references to opengl while building libmythui

MythTV noreply at mythtv.org
Wed Oct 26 22:58:32 UTC 2011


#10126: udefined references to opengl while building libmythui
-------------------------------------+-------------------------------------
     Reporter:  screendisease@…      |      Owner:  mdean
         Type:  Developer Task       |     Status:  new
     Priority:  minor                |  Milestone:  0.24.2
    Component:  Contributed Scripts  |    Version:  Trunk Head
  & Apps                             |   Keywords:  GL_GLEXT_PROTOTYPES
     Severity:  medium               |  mythrender_opengl2es.h opengl
Ticket locked:  0                    |
-------------------------------------+-------------------------------------
 Hi devteam,

 in order to build libmythui , i have to add the following
 CXXFFLAGS

 -DGL_GLEXT_PROTOTYPES

 otherwise the build will fail with undefined references to

 mythrender_opengl2es.h: In member function 'virtual void
 MythRenderOpenGL2ES::InitProcs()':
 mythrender_opengl2es.h:27:57: error: 'glCreateShader' was not declared in
 this scope
 mythrender_opengl2es.h:28:57: error: 'glShaderSource' was not declared in
 this scope
 mythrender_opengl2es.h:29:58: error: 'glCompileShader' was not declared in
 this scope
 mythrender_opengl2es.h:30:57: error: 'glAttachShader' was not declared in
 this scope
 mythrender_opengl2es.h:31:56: error: 'glGetShaderiv' was not declared in
 this scope
 mythrender_opengl2es.h:32:61: error: 'glGetShaderInfoLog' was not declared
 in this scope
 mythrender_opengl2es.h:33:57: error: 'glDetachShader' was not declared in
 this scope
 mythrender_opengl2es.h:34:57: error: 'glDeleteShader' was not declared in
 this scope
 mythrender_opengl2es.h:36:59: error: 'glDeleteProgram' was not declared in
 this scope
 mythrender_opengl2es.h:37:59: error: 'glCreateProgram' was not declared in
 this scope
 mythrender_opengl2es.h:38:57: error: 'glLinkProgram' was not declared in
 this scope
 mythrender_opengl2es.h:39:56: error: 'glUseProgram' was not declared in
 this scope
 mythrender_opengl2es.h:40:63: error: 'glGetProgramInfoLog' was not
 declared in this scope
 mythrender_opengl2es.h:41:58: error: 'glGetProgramiv' was not declared in
 this scope
 mythrender_opengl2es.h:43:66: error: 'glGetUniformLocation' was not
 declared in this scope
 mythrender_opengl2es.h:44:57: error: 'glUniform4f' was not declared in
 this scope
 mythrender_opengl2es.h:45:64: error: 'glUniformMatrix4fv' was not declared
 in this scope
 mythrender_opengl2es.h:46:67: error: 'glVertexAttribPointer' was not
 declared in this scope
 mythrender_opengl2es.h:48:76: error: 'glEnableVertexAttribArray' was not
 declared in this scope
 mythrender_opengl2es.h:49:77: error: 'glDisableVertexAttribArray' was not
 declared in this scope
 mythrender_opengl2es.h:50:71: error: 'glBindAttribLocation' was not
 declared in this scope
 mythrender_opengl2es.h:51:67: error: 'glVertexAttrib4f' was not declared
 in this scope
 mythrender_opengl2es.h:53:52: error: 'glGenBuffers' was not declared in
 this scope


 have a nice day:-)

-- 
Ticket URL: <http://code.mythtv.org/trac/ticket/10126>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center


More information about the mythtv-commits mailing list