wpebackend-rdk Build Error on YOCTO Kirkstone with i.MX6

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

wpebackend-rdk Build Error on YOCTO Kirkstone with i.MX6

341 Views
NBH
Contributor I

Hello,

I am trying to build WPEBackend-rdk on kirkstone for the i.MX6 but i found this error:
Could NOT find Wayland (missing: WAYLAND_INCLUDE_DIRS)

The contenent of these varaibles is empty:
WAYLAND_INCLUDE_DIRS, WAYLAND_CFLAGS, WAYLAND_CFLAGS_OTHER, WAYLAND_LDFLAGS_OTHER

In other hand, the cotenent of these variables is :
*WAYLAND_FOUND: 1

*WAYLAND_LIBRARIES: wayland-client;wayland-server

*WAYLAND_LINK_LIBRARIES: /[build_folders]//work/cortexa9t2hf-neon-oe-linux-gnueabi/wpebackend-rdk/1.20221201-r0/recipe-sysroot/usr/lib/libwayland-client.so;/[build_folders]//work/cortexa9t2hf-neon-oe-linux-gnueabi/wpebackend-rdk/1.20221201-r0/recipe-sysroot/usr/lib/libwayland-server.so

*WAYLAND_LIBRARY_DIRS: [build_folders]/work/cortexa9t2hf-neon-oe-linux-gnueabi/wpebackend-rdk/1.20221201-r0/recipe-sysroot/usr/lib

*WAYLAND_LDFLAGS: -L/[build_folders]//work/cortexa9t2hf-neon-oe-linux-gnueabi/wpebackend-rdk/1.20221201-r0/recipe-sysroot/usr/lib;-lwayland-client;-lwayland-server

Konwing that the wayland dependancy is set and the PREFERRED_PROVIDER_virtual/wpebackend = "wpebackend-rdk"
The wpebackend-rdk recipe is : wpebackend-rdk_1.20221201.bb
The wpebackend-rdk sources: master

Can you help me please?

Labels (3)
0 Kudos
Reply
2 Replies

304 Views
Zhiming_Liu
NXP TechSupport
NXP TechSupport

Hi

You can try to add below packages into your local.conf

libwayland-egl libwayland-egl-dev



Best Regards
Zhiming

0 Kudos
Reply

294 Views
NBH
Contributor I

Problem is solved by adding these lines on the wpbackend-rdk recipe:

EXTRA_OECMAKE += " \
-DWAYLAND_INCLUDE_DIRS=${STAGING_INCDIR}/wayland \
-DWAYLAND_EGL_INCLUDE_DIRS=${STAGING_INCDIR} \
"
0 Kudos
Reply