Because of the holidays, TI E2E™ design support forum responses will be delayed from Dec. 25 through Jan. 2. Thank you for your patience.

This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AM3358: AM3358: Yocto meta-qt5 with eglfs

Part Number: AM3358

Hi,

We are trying to build qt5.15.2 with eglfs and opengl es2 without wayland and xl11 using yocto .

Added below in conf:

DISTRO_FEATURES_append = " opengl"

DISTRO_FEATURES_remove = "x11 wayland"
Added below in qtbase_git.bbappend:
PACKAGECONFIG[gold-linker] = "-use-gold-linker,-no-use-gold-linker"
PACKAGECONFIG[sql-plugin-sqlite] = "-system-sqlite -plugin-sql-sqlite,-no-sql-sqlite,sqlite3"
PACKAGECONFIG[qml-debug] = "-qml-debug,-no-qml-debug"
PACKAGECONFIG[qreal-float] = "-qreal float,"
PACKAGECONFIG += "gles2"
PACKAGECONFIG_append= "eglfs sql-plugin-sqlite freetype fontconfig icu accessibility glib harfbuzz pcre qreal-float tslib"
PACKAGECONFIG_remove = "xcb linuxfb pulseaudio tools iconv alsa dbus gold-linker evdev openssl"
However, it throws below errors after building qtbase through yocto:
.../../../../git/config.tests/unix/opengles2/opengles2.cpp:38:25: fatal error: GLES2/gl2.h: No such file or directory
compilation terminated.

Makefile:177: recipe for target 'opengles2.o' failed
make: *** [opengles2.o] Error 1

Makefile:177: recipe for target 'opengles2.o' failed
make: *** [opengles2.o] Error 1
OpenGL ES 2.0 disabled.

It uses https://github.com/meta-qt5/meta-qt5 with the above changes in conf and qtbase_git.bbappend.
Any thoughts on how to resolve the same if we need to add any includes or any changes in bbappend?