From: Benjamin Federau <benjamin.federau@basyskom.com>
To: meta-freescale@yoctoproject.org
Subject: Re: Problem compiling QtWayland
Date: Thu, 9 Apr 2015 19:08:47 +0200 [thread overview]
Message-ID: <2669906156-8923@mx1.basyskom.com> (raw)
In-Reply-To: <543BB1C9.1040205@arantia.com>
[-- Attachment #1: Type: text/plain, Size: 7618 bytes --]
Hi,
Ruben Morgade <rmorgade@arantia.com> , 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
[-- Attachment #2: Type: text/html, Size: 8709 bytes --]
next prev parent reply other threads:[~2015-04-09 17:39 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-10-13 11:04 Problem compiling QtWayland Ruben Morgade
2015-04-09 17:08 ` Benjamin Federau [this message]
2015-04-09 17:45 ` Otavio Salvador
2015-04-10 7:53 ` Benjamin Federau
2015-04-10 12:49 ` Otavio Salvador
2015-04-10 13:44 ` Benjamin Federau
2015-04-10 13:46 ` Otavio Salvador
2015-04-13 16:12 ` Benjamin Federau
2015-04-14 10:17 ` Graphic issue with weston + qtwayland Benjamin Federau
2015-04-15 12:51 ` Benjamin Federau
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=2669906156-8923@mx1.basyskom.com \
--to=benjamin.federau@basyskom.com \
--cc=meta-freescale@yoctoproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.