[Development] Does iMX6 support EGL on X11 feature?

Denis Shienkov denis.shienkov at gmail.com
Fri Mar 22 20:21:44 CET 2019


Yes, it was 'wayland'.. I tried with any options.. E.g. with X11 it 
fails as:

main.cpp:16:50: error: cannot convert 'Display* {aka _XDisplay*}' to 
'EGLNativeDisplayType {aka _FBDisplay*}' in initialization
 >      EGLNativeDisplayType egldpy = XOpenDisplay("");

it wants framebuffer?? so, I don't know what need to build EGL it with 
X11 on iMX6.

22.03.2019 22:04, Konstantin Tokarev пишет:
>
> 22.03.2019, 19:11, "Denis Shienkov" <denis.shienkov at gmail.com>:
>> Hi all,
>>
>> I'm trying to build a Yocto image, but the config tests fails on 'executing config test egl-x11' test with:
>>
>>> In file included from main.cpp:7:0:
>>> main.cpp: In function 'int main(int, char**)':
>>> main.cpp:15:20: error: cannot convert 'EGLNativeDisplayType {aka wl_display*}' to 'Display* {aka _XDisplay*}' in initialization
>>>        Display *dpy = EGL_DEFAULT_DISPLAY;
>>>                       ^
>>> In file included from /mnt/data/Yocto-miatech/yocto-miatech/build-apalis-imx6/tmp/work/cortexa9hf-neon-mx6qdl-poky-linux-gnueabi/qtbase/5.11.2+gitAUTOINC+5b6eb8e247-r0/recipe-sysroot/usr/include/EGL/eglplatform.h:38:0,
>>>                    from /mnt/data/Yocto-miatech/yocto-miatech/build-apalis-imx6/tmp/work/cortexa9hf-neon-mx6qdl-poky-linux-gnueabi/qtbase/5.11.2+gitAUTOINC+5b6eb8e247-r0/recipe-sysroot/usr/include/EGL/egl.h:39,
>>>                    from main.cpp:7:
>>> /mnt/data/Yocto-miatech/yocto-miatech/build-apalis-imx6/tmp/work/cortexa9hf-neon-mx6qdl-poky-linux-gnueabi/qtbase/5.11.2+gitAUTOINC+5b6eb8e247-r0/recipe-sysroot/usr/include/EGL/eglvivante.h:111:16: note: class type 'wl_display' is incomplete
>>>    typedef struct wl_display *      EGLNativeDisplayType;
> it seems like your EGL implementation is configured to use Wayland instead of X11
>
>
> -- 
> Regards,
> Konstantin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/development/attachments/20190322/d8c0195c/attachment.html>


More information about the Development mailing list