Building XBMC for Ubuntu

XBMC subforum

Building XBMC for Ubuntu

Postby selex » Sun Mar 02, 2014 5:03 pm

Hi!

I'm trying to compile xmbc-imx6 on ubuntu. As a matter of taste I prefer Ubuntu over Archlinux. When I try to compile xbmc I'm getting the following error:

Code: Select all
CPP     xbmc/windowing/egl/EGLWrapper.o
In file included from EGLNativeTypeIMX.h:24:0,
                 from EGLWrapper.cpp:29:
/usr/include/EGL/eglvivante.h:97:29: error: conflicting declaration ‘typedef struct _FBDisplay* EGLNativeDisplayType’
 typedef struct _FBDisplay * EGLNativeDisplayType;
                             ^
In file included from /usr/include/EGL/egl.h:36:0,
                 from EGLNativeTypeWayland.h:25,
                 from EGLWrapper.cpp:27:
/usr/include/EGL/eglplatform.h:128:18: error: ‘EGLNativeDisplayType’ has a previous declaration as ‘typedef Display* EGLNativeDisplayType’
 typedef Display *EGLNativeDisplayType;
                  ^
In file included from EGLNativeTypeIMX.h:24:0,
                 from EGLWrapper.cpp:29:
/usr/include/EGL/eglvivante.h:98:29: error: conflicting declaration ‘typedef struct _FBWindow* EGLNativeWindowType’
 typedef struct _FBWindow *  EGLNativeWindowType;
                             ^
In file included from /usr/include/EGL/egl.h:36:0,
                 from EGLNativeTypeWayland.h:25,
                 from EGLWrapper.cpp:27:
/usr/include/EGL/eglplatform.h:130:18: error: ‘EGLNativeWindowType’ has a previous declaration as ‘typedef Window EGLNativeWindowType’
 typedef Window   EGLNativeWindowType;
                  ^
In file included from EGLNativeTypeIMX.h:24:0,
                 from EGLWrapper.cpp:29:
/usr/include/EGL/eglvivante.h:99:29: error: conflicting declaration ‘typedef struct _FBPixmap* EGLNativePixmapType’
 typedef struct _FBPixmap *  EGLNativePixmapType;
                             ^
In file included from /usr/include/EGL/egl.h:36:0,
                 from EGLNativeTypeWayland.h:25,
                 from EGLWrapper.cpp:27:
/usr/include/EGL/eglplatform.h:129:18: error: ‘EGLNativePixmapType’ has a previous declaration as ‘typedef Pixmap EGLNativePixmapType’
 typedef Pixmap   EGLNativePixmapType;
                  ^
make[1]: *** [EGLWrapper.o] Error 1
make: *** [xbmc/windowing/egl/windowing_egl.a] Error 2


The components I'm using to build xbmc (based on https://groups.google.com/forum/#!msg/wandboard/IjKOJqXtpic/h-CJDSdMBZ8J and http://boundarydevices.com/mx6-video-acceleration-raring-debian/) are:

    Kernel from RobertCNelson 3.13.4 with Vivante GPU driver
    gpu-viv-bin-mx6q-1.1.0-ts (hardfloat)
    firmware-imx-3.5.7-1.0.0
    imx-lib-1.1.0
    libfslvpuwrap-1.0.35
    And configuring with:
Code: Select all
./configure --enable-neon --enable-codec=imxvpu \
      --enable-gles --disable-sdl --disable-x11 --disable-xrandr --disable-openmax \
      --disable-optical-drive --disable-joystick \
      --disable-crystalhd --disable-vtbdecoder --disable-vaapi --disable-vdpau \
      --disable-pulse --disable-projectm


Has anyone this problem and an advice or step by step guide? I'm already using my wandboard as a server so I want to avoid overwritting my rootfs (in fact I'm using a chroot to compile xbmc). Thanks!
selex
 
Posts: 7
Joined: Sun Mar 02, 2014 4:44 pm

Re: Building XBMC for Ubuntu

Postby selex » Fri Jul 18, 2014 10:57 am

I found a way to compile it, later I tell you mi experience:

https://github.com/aureq/udoo-recipes/blob/master/03-xbmc-recipe.md
selex
 
Posts: 7
Joined: Sun Mar 02, 2014 4:44 pm

Re: Building XBMC for Ubuntu

Postby synportack24 » Mon Oct 20, 2014 11:20 pm

I'm having some problems too with building xbmc.
I'm trying to build this on wandboard ubuntu 12.04 image for a Wandboard Quad C1.

I've used a mix of the standard XMBC linux build instruction and the one linked above

what I tried was
-getting all the dependencies for xbmc via the method 2 in the standard guide.
-After that I follow the recipe guide starting with the libcec compilation (which goes fine)
-For the XMBC compilation part I follow it exactly with the exception of using "https://github.com/xbmc-imx6" as that is the currently active git
-When I try to make lib/taglib that's when I start to get errors and things fall apart past that.

thanks in advance
synportack24
 
Posts: 17
Joined: Mon Oct 20, 2014 10:56 pm


Return to Software - XBMC

Who is online

Users browsing this forum: No registered users and 3 guests