[Freedreno] XBMC build on F20 + prebuilt-freedreno-f20.tgz

Rob Clark robdclark at gmail.com
Fri Jan 31 12:15:51 PST 2014


On Fri, Jan 31, 2014 at 8:13 AM, Pallai Roland <pallair at magex.hu> wrote:
> Hi,
>
> Has anyone success with XBMC build on F20 with prebuilt-freedreno-f20.tgz?
> I've got the following error:

I don't remember that error in particular.. looks like xbmc is mixing
gl and gles headers, so it is a problem in xbmc.

When I built xbmc, I did not enable the gles support, which could be
why I did not see this.  Anyways, it is unnecessary for freedreno (the
gl/glx code in xbmc works fine).

Fwiw, I did already build everything:

http://people.freedesktop.org/~robclark/xbmc-repo/

(although that version of xbmc is not very stable.. probably could use
an update to a newer version)

BR,
-R

> $ rpmbuild -bb xbmc.spec
> [...]
> CPP     xbmc/cores/dvdplayer/DVDCodecs/Video/DVDVideoCodecFFmpeg.o
> In file included from /usr/include/GL/gl.h:2083:0,
>                  from /usr/include/GL/glx.h:32,
>                  from VDPAU.h:50,
>                  from DVDVideoCodecFFmpeg.cpp:52:
> /usr/include/GL/glext.h:468:19: error: conflicting declaration 'typedef
> ptrdiff_t GLsizeiptr'
>  typedef ptrdiff_t GLsizeiptr;
>                    ^
> In file included from
> /home/dap/rpmbuild/BUILD/xbmc-13.0-Gotham_alpha9/xbmc/system_gl.h:51:0,
>                  from VDPAU.h:41,
>                  from DVDVideoCodecFFmpeg.cpp:52:
> /usr/include/GLES2/gl2.h:39:26: error: 'GLsizeiptr' has a previous
> declaration as 'typedef khronos_ssize_t GLsizeiptr'
>  typedef khronos_ssize_t  GLsizeiptr;
>                           ^
> In file included from /usr/include/GL/gl.h:2083:0,
>                  from /usr/include/GL/glx.h:32,
>                  from VDPAU.h:50,
>                  from DVDVideoCodecFFmpeg.cpp:52:
> /usr/include/GL/glext.h:469:19: error: conflicting declaration 'typedef
> ptrdiff_t GLintptr'
>  typedef ptrdiff_t GLintptr;
>                    ^
> In file included from
> /home/dap/rpmbuild/BUILD/xbmc-13.0-Gotham_alpha9/xbmc/system_gl.h:51:0,
>                  from VDPAU.h:41,
>                  from DVDVideoCodecFFmpeg.cpp:52:
> /usr/include/GLES2/gl2.h:38:26: error: 'GLintptr' has a previous declaration
> as 'typedef khronos_intptr_t GLintptr'
>  typedef khronos_intptr_t GLintptr;
>                           ^
> In file included from DVDVideoCodecFFmpeg.cpp:52:0:
> VDPAU.h:545:1: error: expected class-name before '{' token
>  {
>  ^
>
>
> My XBMC source is rpmfusion.
>
>
> _______________________________________________
> Freedreno mailing list
> Freedreno at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/freedreno
>


More information about the Freedreno mailing list