Hello,
I try to compile clutter for an embedded device. I'm using the ./configure
script like this :
./configure --without-x --with-flavour=eglnative --with-gles=2.0
--prefix=/opt/clutter-egl/
When I compile it, I get this error :
clutter-stage-egl.c: In function 'clutter_stage_egl_realize':
clutter-stage-egl.c:89: error: 'EGL_RENDERABLE_TYPE' undeclared (first use
in this function)
clutter-stage-egl.c:89: error: (Each undeclared identifier is reported only
once
clutter-stage-egl.c:89: error: for each function it appears in.)
clutter-stage-egl.c:89: error: 'EGL_OPENGL_ES2_BIT' undeclared (first use in
this function)
clutter-stage-egl.c:167: error: 'EGL_CONTEXT_CLIENT_VERSION' undeclared
(first use in this function)
clutter-stage-egl.c:167: error: initializer element is not constant
clutter-stage-egl.c:167: error: (near initialization for 'attribs[0]')
At line 89 of clutter-stage-egl.c there is
#ifdef HAVE_COGL_GLES2
EGL_RENDERABLE_TYPE, EGL_OPENGL_ES2_BIT,
HAVE_COGL_GLES2 is defined in config.h when the option
"-with-flavour=eglnative" is present :
#define HAVE_COGL_GLES2 1
So, what can I do to compile clutter ?
best regards,
Julien