[meta-freescale] cogl and wayland

Daiane Angolini daiane.angolini at freescale.com
Thu Aug 29 12:00:52 PDT 2013


On 08/29/2013 01:11 PM, Daiane Angolini wrote:
> My next step for getting GPU validated is build core-image-weston.
>
> But, if only remove X11 from DISTRO_FEATURES and include wayland, cogl
> cries because it cannot find X11 header files.
>
> DISTRO_FEATURES="alsa argp bluetooth ext2 irda largefile pcmcia
> usbgadget usbhost wifi xattr nfs zeroconf pci 3g nfc wayland pam
> ${DISTRO_FEATURES_LIBC}"
>
> Error:
> /home/daiane/p12/build_wayland_hfp/tmp/sysroots/imx6qsabresd/usr/include/EGL/egl
>
> vivante.h:222:22:
> fatal error: X11/Xlib.h: No such file or directory
> |  #include <X11/Xlib.h>
> |                       ^
> | compilation terminated.
> | make[4]: *** [cogl-clip-stack-nop.lo] Error 1
> | make[4]: Leaving directory
> `/home/daiane/p12/build_wayland_hfp/tmp/work/cortexa9hf-vfp-neon-poky-linux-
>
> gnueabi/cogl-1.0/1.14.0-r0/build/cogl'
>
>
> So, if I configure cogl to be more "wayland" it cannot find GL headers.
>
> PACKAGECONFIG_pn-cogl-1.0 = "wayland-egl wayland-server" (and variations)
>
>
> Error:
> | checking for poll.h... (cached) yes
> | configure: error: Internal error: no GL header set
> | Configure failed. The contents of all config.log files follows to aid
> debugging
> | ERROR: oe_runconf failed
>
>
>
> As I understand cogl is a dependency of wayland.... but not sure.
>
> Do you know how to properly configure my build to get core-image-weston????

if I bitbake mesa and try again, I face another error:

| checking if building for some Win32 platform... no
| checking OpenGL/gl.h usability... no
| checking OpenGL/gl.h presence... no
| checking for OpenGL/gl.h... no
| checking for arm-poky-linux-gnueabi-pkg-config... no
| checking for pkg-config... 
/home/daiane/p12/build_wayland_hfp/tmp/sysroots/x86_64-linux/usr/bin/pkg-config
| checking pkg-config is at least version 0.9.0... yes
| checking for arm-poky-linux-gnueabi-pkg-config... 
/home/daiane/p12/build_wayland_hfp/tmp/sysroots/x86_64-linux/usr/bin/pkg-config
| checking pkg-config is at least version 0.16... yes
| checking for GLIB - version >= 2.32.0... cross compiling; assumed OK...
| yes (version 2.36.4)
| checking for WAYLAND_SERVER... yes
| checking EGL/egl.h usability... no
| checking EGL/egl.h presence... no
| checking for EGL/egl.h... no
| configure: error: Unable to locate required EGL headers




>
>
> Thanks in advance,


-- 
Daiane




More information about the meta-freescale mailing list