I wrote a mistake in my first post.
I meant: In the mesa-gl work dir, I can find: ./tmp/work/xxx/mesa-gl-xxx/usr/include/GL/ ./tmp/work/xxx/mesa-gl-xxx/usr/include/GL/GL ./tmp/work/xxx/mesa-gl-xxx/usr/include/GL/GLES ./tmp/work/xxx/mesa-gl-xxx/usr/include/GL/GLES2 ./tmp/work/xxx/mesa-gl-xxx/usr/include/GL/GLES3 with all sub files... ________________________________ De : yocto-boun...@yoctoproject.org <yocto-boun...@yoctoproject.org> de la part de Karim ATIKI <karim_at...@hotmail.com> Envoyé : dimanche 16 octobre 2016 17:45 À : yocto Objet : [yocto] [raspberrypi3] Failed to build core-image-minimal with Qt5 support (GL/gl.h not found) 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