thanks Tapani Pa"lli
I add eglplatform.h to egl.h and passed.
there is another error when I compile clutter-gtk
"
checking for CLUTTER... configure: error: Package requirements (clutter-x11-0.8
>= 0.8.0) were not met:
"
I configured clutter with ./configure --with-flavour=eglnative , I am using
Xwindows but can only configured with eglnative.
so there is not clutter-x11.h
but in pkgconfig have clutter-x11.pc
but poky can run clutter-gtk on mx31 board. I wonder whether the clutter I
compiled can run with X11 or not ,
and how can I build clutter-gtk.
thanks.
the clutter-x11.pc file
prefix=/usr
exec_prefix=${prefix}
libdir=${exec_prefix}/lib
includedir=${prefix}/include
backend=eglnative
apiversion=0.8
requires=pangocairo >= 1.18 glib-2.0 >= 2.14 gobject-2.0 gthread-2.0
gmodule-2.0 gdk-pixbuf-2.0
Name: Clutter
Description: Clutter Core Library (${backend} backend)
Version: 0.8.3
Libs: -L${libdir} -lclutter-${backend}-${apiversion}
Cflags: -I${includedir}/clutter-${apiversion}
Requires: ${requires}
end of clutter-x11.pc
--------------------------------------------------
From: "Tapani Pa"lli" <[EMAIL PROTECTED]>
Sent: Monday, October 27, 2008 2:58 PM
To: <[EMAIL PROTECTED]>
Cc: <[email protected]>
Subject: Re: [clutter] error on build clutter on mx31
> Hello;
>
> ext [EMAIL PROTECTED] wrote:
>> I use Mx31 PDK and I got the MBX driver (lib & head files) frome freescale ,
>> I want to build clutter
>> but I got these errors, seems that the libs or GLES/egl.h is error,but I can
>> compile MBX demos whith these files and this toolchain.
>> i am confused .
>>
>> | /bin/sh ../../arm-poky-linux-gnueabi-libtool --tag=CC --mode=compile
>> arm-poky-linux-gnueabi-gcc -march=armv6j -mtune=arm1136jf-s
>> -mthumb-interwork -mno-thumb -DHAVE_CONFIG_H -I. -I../..
>> -DG_LOG_DOMAIN=\"ClutterEGL\" -I../.. -pthread
>> -I/home/try/poky/build/tmp/staging/armv6-poky-linux-gnueabi/usr/include/pango-1.0
>>
>> -I/home/try/poky/build/tmp/staging/armv6-poky-linux-gnueabi/usr/include/cairo
>>
>> -I/home/try/poky/build/tmp/staging/armv6-poky-linux-gnueabi/usr/include/glib-2.0
>>
>> -I/home/try/poky/build/tmp/staging/armv6-poky-linux-gnueabi/usr/lib/glib-2.0/include
>>
>> -I/home/try/poky/build/tmp/staging/armv6-poky-linux-gnueabi/usr/include/freetype2
>>
>> -I/home/try/poky/build/tmp/staging/armv6-poky-linux-gnueabi/usr/include/libpng12
>>
>> -I/home/try/poky/build/tmp/staging/armv6-poky-linux-gnueabi/usr/include/pixman-1
>>
>> -I/home/try/poky/build/tmp/staging/armv6-poky-linux-gnueabi/usr/include/gtk-2.0
>> -DCLUTTER_ENABLE_DEBUG -DG_DISABLE_CAST_CHECKS -g -Wall
>> -fexpensive-optimizations -fomit-frame
> -pointer -frename-registers -O2 -MT clutter-stage-egl.lo -MD -MP -MF
> .deps/clutter-stage-egl.Tpo -c -o clutter-stage-egl.lo clutter-stage-egl.c
>> | arm-poky-linux-gnueabi-libtool: compile: arm-poky-linux-gnueabi-gcc
>> -march=armv6j -mtune=arm1136jf-s -mthumb-interwork -mno-thumb
>> -DHAVE_CONFIG_H -I. -I../.. -DG_LOG_DOMAIN=\"ClutterEGL\" -I../.. -pthread
>> -I/home/try/poky/build/tmp/staging/armv6-poky-linux-gnueabi/usr/include/pango-1.0
>>
>> -I/home/try/poky/build/tmp/staging/armv6-poky-linux-gnueabi/usr/include/cairo
>>
>> -I/home/try/poky/build/tmp/staging/armv6-poky-linux-gnueabi/usr/include/glib-2.0
>>
>> -I/home/try/poky/build/tmp/staging/armv6-poky-linux-gnueabi/usr/lib/glib-2.0/include
>>
>> -I/home/try/poky/build/tmp/staging/armv6-poky-linux-gnueabi/usr/include/freetype2
>>
>> -I/home/try/poky/build/tmp/staging/armv6-poky-linux-gnueabi/usr/include/libpng12
>>
>> -I/home/try/poky/build/tmp/staging/armv6-poky-linux-gnueabi/usr/include/pixman-1
>>
>> -I/home/try/poky/build/tmp/staging/armv6-poky-linux-gnueabi/usr/include/gtk-2.0
>> -DCLUTTER_ENABLE_DEBUG -DG_DISABLE_CAST_CHECKS -g -Wall
>> -fexpensive-optimizations -fomit-frame-pointer -frename-registers -O2 -MT
> clutter-backend-egl.lo -MD -MP -MF .deps/clutter-backend-egl.Tpo -c
> clutter-backend-egl.c -fPIC -DPIC -o .libs/clutter-backend-egl.o
>> | In file included from clutter-egl-headers.h:30,
>> | from clutter-backend-egl.h:25,
>> | from clutter-backend-egl.c:5:
>> |
>> /home/try/poky/build/tmp/staging/armv6-poky-linux-gnueabi/usr/include/GLES/egl.h:213:
>> error: expected '=', ',', ';', 'asm' or '__attribute__' before 'EGLint'
>
> snip 8<
>
> This looks like egl.h is not including egltypes.h or eglplatform.h which
> would then have the type definitions for EGLint etc.
>
> // Tapani
>
> --
> To unsubscribe send a mail to [EMAIL PROTECTED]
>
>