Kodi Community Forum

Full Version: I'm trying to make XBMC for SoC CE4100
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I'm trying to make XBMC for SoC CE4100

During the build I'm facing a error:

http://pastebin.com/y7UZfjxP

I was trying to add LDFLAGS -ljpeg -lpython2.6 -lGLESv2 -lEGL, but it's not helping.

Does anybody know how can this problem be solved?

I configured it in the following way:
Quote:./configure --host=${HOST} --prefix=${PREFIX} --disable-optical-drive --enable-vdpau=no --enable-rsxs=no --enable-gl=no --enable-gles=yes --enable-debug=no --enable-x11=no --disable-webserver --enable-dvdcss=no --enable-joystick=no --enable-sdl=no -with-arch=i686 --with-cpu=i686

P.S. I have а Intel SDK PC21.5 for Intel CE4100 Developer platform
check the defines on CWinSystemGLES in WindowingFactory.h
check which version of libjpeg you are using.
check that python is using UCS4
davilla Wrote:check the defines on CWinSystemGLES in WindowingFactory.h
check which version of libjpeg you are using.
check that python is using UCS4

config.h
Quote:/* Define to 1 if you have the `EGL' library (-lEGL). */
#define HAVE_LIBEGL 1
/* Define to 1 if you have the `GLESv2' library (-lGLESv2). */
#define HAVE_LIBGLESV2 1

system.h
Quote: // EGL detected. Dont use GLX!
#ifdef HAVE_LIBEGL
#undef HAS_GLX
#define HAS_EGL
#endif

// GLES2.0 detected. Dont use GL!
#ifdef HAVE_LIBGLESV2
#undef HAS_GL
#define HAS_GLES 2
#endif
...
#if HAS_GLES == 2
#if defined(TARGET_DARWIN)
#include <OpenGLES/ES2/gl.h>
#include <OpenGLES/ES2/glext.h>
#else
#include <GLES2/gl2.h>
#include <GLES2/gl2ext.h>
#endif
#endif

WindowingFactory.h
Quote:#elif defined(TARGET_LINUX) && defined(HAS_GLES) && defined(HAS_EGL)
#include "egl/WinSystemGLES.h"

egl/WinSystemGLES.h
Quote: #include "rendering/gles/RenderSystemGLES.h"
#include "utils/GlobalsHandling.h"
#include "windowing/WinSystem.h"

class CWinBindingEGL;

typedef struct fbdev_window fbdev_window;

class CWinSystemGLES : public CWinSystemBase, public CRenderSystemGLES
{
public:
CWinSystemGLES();
virtual ~CWinSystemGLES();

...

egl/WinSystemGLES.cpp
Quote:CWinSystemGLES::CWinSystemGLES() : CWinSystemBase()
{
m_window = NULL;
m_eglBinding = new CWinBindingEGL();
m_eWindowSystem = WINDOW_SYSTEM_EGL;
}


Like all it is declared. Or I that not so have understood that?
I understood what was the problem! In the system.h wasn't defined HAS_EGLGLES. I'm puzzling it out further.
Now I have an error:
Quote:xbmc/xbmc.a: member xbmc/xbmc.a(GUIViewState.o) in archive is not an object
I was make xbmc, but I have an error on start Sad
Quote:Unknown parameter encountered: "debug"
Ignoring unknown parameter "debug"
sh: lsb_release: not found
sh: lsb_release: not found
EGL: Verification failed in gdl_ws.c on line 331
ERROR: Unable to create application. Exiting