Hi,
Ruben Morgade <[email protected]> , 13.10.2014 13:14: Dear all, We are trying to test Qt5+wayland on a wandboard quad. We are using: fsl-community-bsp in master branch meta-qt5 in master branch Everything up-to-date. We are able to generate the core-image-weston with some extra features as per the following local.conf file: MACHINE ??= 'wandboard-quad' DISTRO ?= 'poky' PACKAGE_CLASSES ?= "package_rpm" EXTRA_IMAGE_FEATURES = "debug-tweaks" USER_CLASSES ?= "buildstats image-mklibs image-prelink" PATCHRESOLVE = "noop" BB_DISKMON_DIRS = "\ STOPTASKS,${TMPDIR},1G,100K \ STOPTASKS,${DL_DIR},1G,100K \ STOPTASKS,${SSTATE_DIR},1G,100K \ ABORT,${TMPDIR},100M,1K \ ABORT,${DL_DIR},100M,1K \ ABORT,${SSTATE_DIR},100M,1K" PACKAGECONFIG_append_pn-qemu-native = " sdl" PACKAGECONFIG_append_pn-nativesdk-qemu = " sdl" ASSUME_PROVIDED += "libsdl-native" CONF_VERSION = "1" BB_NUMBER_THREADS = '16' PARALLEL_MAKE = '-j 16' DL_DIR ?= "${BSPDIR}/downloads/" ACCEPT_FSL_EULA = "" LICENSE_FLAGS_WHITELIST += "commercial" DISTRO_FEATURES_append = " wayland opengl" DISTRO_FEATURES_remove = " x11 directfb" IMAGE_INSTALL_append = " \ firmware-imx-vpu-imx6q \ firmware-imx-vpu-imx6d \ " IMAGE_INSTALL_append = " \ cpufrequtils \ nano \ packagegroup-fsl-gstreamer-full \ packagegroup-fsl-tools-testapps \ packagegroup-fsl-tools-benchmark \ gstreamer \ packagegroup-fslc-gstreamer1.0-full \ python-smartpm \ gst-plugins-base-app \ gst-plugins-base \ gst-plugins-good \ gst-plugins-good-rtsp \ gst-plugins-good-udp \ gst-plugins-good-rtpmanager \ gst-plugins-good-rtp \ gst-plugins-good-video4linux2 \ qtbase-fonts \ qtbase-plugins \ qtbase-tools \ qtbase-examples \ qtdeclarative \ qtdeclarative-plugins \ qtdeclarative-tools \ qtdeclarative-examples \ qtdeclarative-qmlplugins \ qtmultimedia \ qtmultimedia-plugins \ qtmultimedia-examples \ qtmultimedia-qmlplugins \ qtsvg \ qtsvg-plugins \ qtsensors \ qtimageformats-plugins \ qtsystems \ qtsystems-tools \ qtsystems-examples \ qtsystems-qmlplugins \ qtscript \ qt3d \ qt3d-examples \ qt3d-qmlplugins \ qt3d-tools \ qtwebkit \ qtwebkit-examples-examples \ qtwebkit-qmlplugins \ chromium \ cinematicexperience \ " Everything compiles ok, but if we add or try to compile separately qtWayland, we get this error: | compiling /opt/Freescale/yocto-master/build/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/qtwayland/5.3.2-r0/git/src/plugins/platforms/qwayland-xcomposite-egl/main.cpp | /opt/Freescale/yocto-master/build/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/qtwayland/5.3.2-r0/git/src/hardwareintegration/client/xcomposite-egl/qwaylandxcompositeeglwindow.cpp: In member function 'void QWaylandXCompositeEGLWindow::createEglSurface()': | /opt/Freescale/yocto-master/build/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/qtwayland/5.3.2-r0/git/src/hardwareintegration/client/xcomposite-egl/qwaylandxcompositeeglwindow.cpp:125:93: error: invalid conversion from 'Window {aka long unsigned int}' to 'EGLNativeWindowType {aka _FBWindow*}' [-fpermissive] | m_surface = eglCreateWindowSurface(m_glxIntegration->eglDisplay(), m_config, m_xWindow,0); | ^ | In file included from /opt/Freescale/yocto-master/build/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/qtwayland/5.3.2-r0/git/src/hardwareintegration/client/xcomposite-egl/qwaylandxcompositeeglclientbufferintegration.h:59:0, | from /opt/Freescale/yocto-master/build/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/qtwayland/5.3.2-r0/git/src/hardwareintegration/client/xcomposite-egl/qwaylandxcompositeeglwindow.h:48, | from /opt/Freescale/yocto-master/build/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/qtwayland/5.3.2-r0/git/src/hardwareintegration/client/xcomposite-egl/qwaylandxcompositeeglwindow.cpp:42: | /opt/Freescale/yocto-master/build/tmp/sysroots/wandboard-quad/usr/include/EGL/egl.h:264:31: note: initializing argument 3 of 'void* eglCreateWindowSurface(EGLDisplay, EGLConfig, EGLNativeWindowType, const EGLint*)' | EGLAPI EGLSurface EGLAPIENTRY eglCreateWindowSurface(EGLDisplay dpy, EGLConfig config, | ^ | /opt/Freescale/yocto-master/build/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/qtwayland/5.3.2-r0/git/src/hardwareintegration/client/xcomposite-egl/qwaylandxcompositeeglclientbufferintegration.cpp: In static member function 'static void QWaylandXCompositeEGLClientBufferIntegration::rootInformation(void*, qt_xcomposite*, const char*, uint32_t)': | /opt/Freescale/yocto-master/build/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/qtwayland/5.3.2-r0/git/src/hardwareintegration/client/xcomposite-egl/qwaylandxcompositeeglclientbufferintegration.cpp:137:67: error: cannot convert 'Display* {aka _XDisplay*}' to 'EGLNativeDisplayType {aka _FBDisplay*}' for argument '1' to 'void* eglGetDisplay(EGLNativeDisplayType)' | integration->mEglDisplay = eglGetDisplay(integration->mDisplay); | ^ | make[4]: *** [.obj/qwaylandxcompositeeglclientbufferintegration.o] Error 1 | make[4]: *** Waiting for unfinished jobs.... | make[4]: *** [.obj/qwaylandxcompositeeglwindow.o] Error 1 | make[4]: Leaving directory `/opt/Freescale/yocto-master/build/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/qtwayland/5.3.2-r0/build/src/plugins/platforms/qwayland-xcomposite-egl' | make[3]: *** [sub-qwayland-xcomposite-egl-make_first-ordered] Error 2 | make[3]: Leaving directory `/opt/Freescale/yocto-master/build/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/qtwayland/5.3.2-r0/build/src/plugins/platforms' | make[2]: *** [sub-platforms-make_first] Error 2 | make[2]: *** Waiting for unfinished jobs.... | make[5]: Leaving directory `/opt/Freescale/yocto-master/build/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/qtwayland/5.3.2-r0/build/src/plugins/hardwareintegration/compositor/xcomposite-egl' | make[4]: *** [sub-xcomposite-egl-make_first] Error 2 | make[4]: Leaving directory `/opt/Freescale/yocto-master/build/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/qtwayland/5.3.2-r0/build/src/plugins/hardwareintegration/compositor' | make[3]: *** [sub-compositor-make_first] Error 2 | make[3]: Leaving directory `/opt/Freescale/yocto-master/build/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/qtwayland/5.3.2-r0/build/src/plugins/hardwareintegration' | make[2]: *** [sub-hardwareintegration-make_first] Error 2 | make[2]: Leaving directory `/opt/Freescale/yocto-master/build/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/qtwayland/5.3.2-r0/build/src/plugins' | make[1]: *** [sub-plugins-make_first-ordered] Error 2 | make[1]: Leaving directory `/opt/Freescale/yocto-master/build/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/qtwayland/5.3.2-r0/build/src' | make: *** [sub-src-make_first] Error 2 | ERROR: oe_runmake failed | WARNING: exit code 1 from a shell command. | ERROR: Function failed: do_compile (log file is located at /opt/Freescale/yocto-master/build/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/qtwayland/5.3.2-r0/temp/log.do_compile.28308) Anybody who has faced this issue? I have this error with Qt 5.4.1 (meta-qt5 layer master branch with Yocto dizzy) right now. Could you solve this build issue? Cheers - Benjamin Federau
-- _______________________________________________ meta-freescale mailing list [email protected] https://lists.yoctoproject.org/listinfo/meta-freescale
