but I see a video running clutter-webkit based gtk with mx31 on youtube. and I think that clutter can work under X. there are some examples to build a opengl es applications under X in MBX SDK frome freescale .
-------------------------------------------------- From: "Schmottlach, Glenn" <[EMAIL PROTECTED]> Sent: Tuesday, October 28, 2008 1:33 AM To: <[email protected]> Subject: RE: [clutter] error on build clutter on mx31 > I ran into a similar problem before on an i.MX31 3-Stack evaluation board. > The OpenGLES libraries that come with the i.MX31 are NOT integrated into the > X11 package (e.g. no X driver). Basically, these libraries by-pass X11 and > talk directly to the hardware layer. Since there isn't an integrated > OpenGLES/X11 solution available, you won't be able to build clutter-gtk for > that platform since Poky's GTK package is compiled for an X back-end. > > > > > > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: Monday, October 27, 2008 12:21 PM > To: Tapani Pa"lli; [email protected] > Subject: Re: [clutter] error on build clutter on mx31 > > 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] >> >> N�rzu�r岛n�� > > ******************************************* > Diese E-Mail enthaelt vertrauliche und/oder rechtlich geschuetzte > Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail > irrtuemlich erhalten haben, informieren Sie bitte sofort den Absender und > loeschen Sie diese Mail. Das unerlaubte Kopieren sowie die unbefugte > Weitergabe dieser Mail ist nicht gestattet. > > This e-mail may contain confidential and/or privileged information. If you > are not the intended recipient (or have received this e-mail in error) please > notify the sender immediately and delete this e-mail. Any unauthorized > copying, disclosure or distribution of the contents in this e-mail is > strictly forbidden. > ******************************************* > -- > To unsubscribe send a mail to [EMAIL PROTECTED] > > N�Р骒r��z千u���[hr[�店��{.n�+�法�┹r�
