[mythtv-users] Problems building Myth with GL ES support

Tom Flair lists at graniteskies.net
Tue May 24 03:45:44 UTC 2011


On Mon, May 23, 2011 at 7:57 PM, Mark Kendall <mark.kendall at gmail.com>wrote:

> On 24 May 2011 06:53, Tom Flair <lists at graniteskies.net> wrote:
> > Howdy.
> >
> > I've been trying to build Myth using GL ES support but keep running into
> the
> > same errors.  I'm using mesa, libdrm and xf86-video-ati built from git.
> > This also happens on my master backend using the nVidia blob and the
> current
> > official releases of Mesa/libdrm.   If I disable GL ES in the config, the
> > Myth builds fine.  If I disable GL ES support in Mesa, and leave the
> > configure alone, it builds fine.
> >
> > Is it supposed to be an either/or scenario or is Myth's GL ES support
> really
> > dependent on Mesa?
>
> It's been a while since I worked on it, but a few things to bear in mind:-
>
> - OpenGL ES 1.x is not supported (and never will be)
> - configure detects OpenGL ES 2.0 support based upon the presence of
> GLES2/gl2.h
> - from memory, that header is provided by a mesa package (unless you
> manually add it and a few others)
>
>
Alright.  I have the headers for 1.x and 2.0 in /usr/include/GLES and
/usr/include/GLES2, as installed by mesa.



> All of my testing was done either using the nvidia proprietary driver
> with the PVRVFrame emulation library or directly on an early
> Beagleboard.
>
> > In file included from mythrender_opengl.cpp:13:0:
> > mythrender_opengl2es.h: In member function 'virtual void
> > MythRenderOpenGL2ES::InitProcs()':
> > mythrender_opengl2es.h:25:57: error: 'glCreateShader' was not declared in
> > this scope
>
> This looks like gl2.h isn't available.
>
>
As mentioned above, the headers are there.  From /usr/include/GLES2/gl2.h
        /* OpenGL ES core versions */
        #define GL_ES_VERSION_2_0                 1


> Out of interest, any particular reason you're compiling with ES support?
>

Because it's there.  :)   I'm hoping to eek better OpenGL performance out of
the open source ATI drivers.  This really only came up after I did my weekly
build a while back after enabling GL ES in mesa.   Now, I just disable
support in the configure script and continue to build.




>
> regards
>
> Mark
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://www.mythtv.org/mailman/listinfo/mythtv-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.mythtv.org/pipermail/mythtv-users/attachments/20110523/351f841d/attachment.html 


More information about the mythtv-users mailing list