Opengl(mesa) package is not found in sdk.

Hi,
I am trying to compile embedded linux with mesa package. i am able to generate image(core-image-x11) and sdk. but opengl lib and include header files are not found in sysroot. mesa recipe is available in meta/recipes-graphics. how to add openg(libGL.so) lib in sdk and rootfs. is there any alternative way to compile mesa library for imx.

we are using Colibri iMX7d with Voila plus.

Regards,
Bala

Hi @balakumaran

Welcome to Toradex Community.
Could you provide the hardware and software versions of your setup? Have you checked our reference-multimedia-image?

Hi,
Hardware setup:
Colibri iMX7 Dual 512MB
Voila plus 1.1

Software setup:
Host Machine: ubuntu 20.04.

Actually libGL.so is found in rootfs(tmp/work/aarch64-poky-linux/core-image-x11/1.0-r0/rootfs/usr/lib). but not able to find in sdk.

Hi @balakumaran

Add the following line to the local.conf file and build again.
DISTRO_FEATURES_append = " opengl"

Hi @ashok.tx
Thank you for input.
I added DISTRO_FEATURES_append = " opengl" in local.conf file. It is throwing following error when starting bitbake server.

admin@admin:~/poky/build$ bitbake core-image-x11
ERROR: Variable DISTRO_FEATURES_append contains an operation using the old override syntax. Please convert this layer/metadata before attempting to use with a newer bitbake.

Hi @balakumaran

Hope you have followed oecore/yocto article?Have you done any chabnges in local.conf/layers?