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

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

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

765件の閲覧回数
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?

ラベル(3)
0 件の賞賛
返信
2 返答(返信)

728件の閲覧回数
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 件の賞賛
返信

718件の閲覧回数
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 件の賞賛
返信