Hi Khem,

>it currently have some vc4 support if you want mesa to work then use
>vc4graphics in machine features.

You mean, I should add "vc4graphics" in MACHINE_FEATURES ?


Actually, I don't specially  want to have mesa. I just want to have Qt5 without 
X11 so I can build my programs with eglfs qpa.


>otherwise the headers should come from userland package. Figure out

>why mesa-gl is being pulled.

In the dependecy explorer, I see mesa-gl Runtime Depends = "mesa-gl-dev 
mesa-megadriver"
I don't have any other info [☹]

________________________________
De : Khem Raj <raj.k...@gmail.com>
Envoyé : dimanche 16 octobre 2016 19:24
À : Karim ATIKI
Cc : yocto
Objet : Re: [yocto] [raspberrypi3] Failed to build core-image-minimal with Qt5 
support (GL/gl.h not found)

On Sun, Oct 16, 2016 at 8:45 AM, Karim ATIKI <karim_at...@hotmail.com> wrote:
> Hi all,
>
>
> I'm trying to a build a core-image-minimal for my RaspberryPi3 with Qt5
> support.
>
> I'm working with Poky Krogth  and master branches of meta-qt5 and
> meta-raspberrypi.
>
>
> The build failed at qtbase do_configure().
>
> It reports
>
>
> "| checking for OpenGL...
> | Cannot read
> /home/kai/yocto/build-rpi3-minimal/tmp/work/cortexa7hf-neon-vfpv4-poky-linux-gnueabi/qtbase/5.7.0+gitAUTOINC+69b43e74d7-r0/git/mkspecs/oe-device-extra.pri:
> No such file or directory
> | arm-poky-linux-gnueabi-g++  -march=armv7ve -marm -mfpu=neon-vfpv4
> -mfloat-abi=hard -mcpu=cortex-a7
> --sysroot=/home/kai/yocto/build-rpi3-minimal/tmp/sysroots/raspberrypi3 -c
> -pipe  -O2 -pipe -g -feliminate-unused-debug-types
> -fdebug-prefix-map=/home/kai/yocto/build-rpi3-minimal/tmp/work/cortexa7hf-neon-vfpv4-poky-linux-gnueabi/qtbase/5.7.0+gitAUTOINC+69b43e74d7-r0=/usr/src/debug/qtbase/5.7.0+gitAUTOINC+69b43e74d7-r0
> -fdebug-prefix-map=/home/kai/yocto/build-rpi3-minimal/tmp/sysroots/x86_64-linux=
> -fdebug-prefix-map=/home/kai/yocto/build-rpi3-minimal/tmp/sysroots/raspberrypi3=
> -fvisibility-inlines-hidden -O2 -Wall -W -fPIC
> -I../../../../git/config.tests/unix/opengldesktop -I.
> -I../../../../git/mkspecs/linux-oe-g++ -o opengldesktop.o
> ../../../../git/config.tests/unix/opengldesktop/opengldesktop.cpp
>
> | ../../../../git/config.tests/unix/opengldesktop/opengldesktop.cpp:43:19:
> fatal error: GL/gl.h: No such file or directory
>
> |  #include <GL/gl.h>
> "
>
> The OpenGL header files are not there.
> However, I've setup my local.conf as follow:
>
> DISTRO_FEATURES_remove = " x11 wayland"
> DISTRO_FEATURES_append = " opengl"
>
>
> IMAGE_INSTALL_append = "  qtbase \
>   kernel-modules \
>   qtdeclarative \
>   qtmultimedia \
>   qtsvg \
>   qtsensors \
>   qtimageformats \
>   qtsystems \
>   qtscript \
>   qt3d \
>   qtconnectivity \
>   qtlocation \
>   cinematicexperience \
>   qtgraphicaleffects \
>   qtquick1 \
>   qtwebkit \
>   binutils \
> "
>
> Is there something missing ?
> In addition, during the build, I saw "mesa-gl" getting installed correctly.




>
> But in the sysroot, I have only:
>
> ./tmp/sysroots/raspberrypi3/usr/include/GL/
> ./tmp/sysroots/raspberrypi3/usr/include/GL/internal/dri_interface.h
>
> But in the mesa-gl work dir, I can find:
>
> ./tmp/sysroots/raspberrypi3/usr/include/GL/
> ./tmp/sysroots/raspberrypi3/usr/include/GL/GL
> ./tmp/sysroots/raspberrypi3/usr/include/GL/GLES
> ./tmp/sysroots/raspberrypi3/usr/include/GL/GLES2
> ./tmp/sysroots/raspberrypi3/usr/include/GL/GLES3
> with all sub files...
>
>
> What's wrong with the build ?
>
>
> Cheers,
>
> Karim
>
>
>
>
>
>
>
>
>
> --
> _______________________________________________
> yocto mailing list
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
yocto -- Discussion of all things Yocto 
Project<https://lists.yoctoproject.org/listinfo/yocto>
lists.yoctoproject.org
Discussion of all things about the Yocto Project. Read our Community Guidelines 
or learn more about how to participate in other community discussions.



>
-- 
_______________________________________________
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto

Reply via email to