Hi All,
Hardware: IMX8QM-MEK
OS: Embedded Linux (5.10)
I am trying to build weston application but, I got error.
$ git clone https://gitlab.freedesktop.org/wayland/weston.git
$ cd weston
$source /opt/fsl-imx-wayland/5.10-hardknott/environment-setup-cortexa72-cortexa53-crypto-poky-linux
$ export ARCH=arm64
$ meson build/ --prefix=...
$ ninja -C build/ install
$ cd ..
vinoth@vinoth-VirtualBox:~/vinoth/vinoth-native/weston$ meson --prefix="${PWD}/build/install" build/
DEPRECATION: c_args in the [properties] section of the machine file is deprecated, use the [built-in options] section.
DEPRECATION: c_link_args in the [properties] section of the machine file is deprecated, use the [built-in options] section.
DEPRECATION: cpp_args in the [properties] section of the machine file is deprecated, use the [built-in options] section.
DEPRECATION: cpp_link_args in the [properties] section of the machine file is deprecated, use the [built-in options] section.
The Meson build system
Version: 0.57.1
Source dir: /home/vinoth/vinoth/vinoth-native/weston
Build dir: /home/vinoth/vinoth/vinoth-native/weston/build
Build type: cross build
Project name: weston
Project version: 9.0.91
C compiler for the host machine: aarch64-poky-linux-gcc -mcpu=cortex-a72.cortex-a53 -march=armv8-a+crc+crypto -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=/opt/fsl-imx-wayland/5.10-hardknott/sysroots/cortexa72-cortexa53-crypto-poky-linux (gcc 10.2.0 "aarch64-poky-linux-gcc (GCC) 10.2.0")
C linker for the host machine: aarch64-poky-linux-gcc -mcpu=cortex-a72.cortex-a53 -march=armv8-a+crc+crypto -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=/opt/fsl-imx-wayland/5.10-hardknott/sysroots/cortexa72-cortexa53-crypto-poky-linux ld.bfd 2.36.1.20210209
C compiler for the build machine: cc (gcc 9.3.0 "cc (Ubuntu 9.3.0-17ubuntu1~20.04) 9.3.0")
C linker for the build machine: cc ld.bfd 2.34
Build machine cpu family: x86_64
Build machine cpu: x86_64
Host machine cpu family: x86_64
Host machine cpu: x86_64
Target machine cpu family: x86_64
Target machine cpu: x86_64
Found git repository at /home/vinoth/vinoth/vinoth-native/weston
Compiler for C supports arguments -Wmissing-prototypes: YES
Compiler for C supports arguments -Wno-unused-parameter: YES
Compiler for C supports arguments -Wno-shift-negative-value: YES
Compiler for C supports arguments -Wno-missing-field-initializers: YES
Compiler for C supports arguments -Wno-pedantic: YES
Compiler for C supports arguments -Wundef: YES
Compiler for C supports arguments -fvisibility=hidden: YES
Header <sys/sysmacros.h> has symbol "major" : YES
Checking for function "mkostemp" : YES
Checking for function "strchrnul" : YES
Checking for function "initgroups" : YES
Checking for function "posix_fallocate" : YES
Checking for function "memfd_create" : YES
Has header "linux/sync_file.h" : YES
Message: The default backend is drm
Found pkg-config: /opt/fsl-imx-wayland/5.10-hardknott/sysroots/x86_64-pokysdk-linux/usr/bin/pkg-config (0.29.2)
Run-time dependency xkbcommon found: YES 1.0.3
Run-time dependency wayland-server found: YES 1.19.0
Run-time dependency wayland-client found: YES 1.19.0
Run-time dependency pixman-1 found: YES 0.40.0
Run-time dependency libinput found: YES 1.16.4
Run-time dependency libevdev found: YES 1.11.0
Library m found: YES
Library dl found: YES
Run-time dependency libdrm found: YES 2.4.107
Run-time dependency threads found: YES
Message: Found libdrm with human format modifier support.
Program python3 found: YES (/opt/fsl-imx-wayland/5.10-hardknott/sysroots/x86_64-pokysdk-linux/usr/bin/python3)
Configuring version.h using configuration
Found pkg-config: /opt/fsl-imx-wayland/5.10-hardknott/sysroots/x86_64-pokysdk-linux/usr/bin/pkg-config (0.29.2)
Found CMake: /opt/fsl-imx-wayland/5.10-hardknott/sysroots/x86_64-pokysdk-linux/usr/bin/cmake (3.19.5)
Build-time dependency wayland-scanner found: NO (tried pkgconfig and cmake)
protocol/meson.build:1:0: ERROR: Dependency "wayland-scanner" not found, tried pkgconfig and cmake
Hello Vinothkumars,
For weston please use the new bsp 5.10.72 and follow the Yocto project user Guide.
https://www.nxp.com/docs/en/user-guide/IMX_YOCTO_PROJECT_USERS_GUIDE.pdf
Regards