-
Type:
Bug
-
Status: Open
-
Priority:
P2: Important
-
Resolution: Unresolved
-
Affects Version/s: 5.9.2
-
Fix Version/s: None
-
Component/s: Build System
-
Labels:None
In file included from /opt/emlix/test/sysroot/usr/include/EGL/egl.h:39:0, from /tmp/e2/build/qt-everywhere-opensource-src-5.9.2/qtmultimedia/src/plugins/videonode/egl/qsgvideonode_egl.h:48, from /tmp/e2/build/qt-everywhere-opensource-src-5.9.2/qtmultimedia/src/plugins/videonode/egl/qsgvideonode_egl.cpp:40: /opt/emlix/test/sysroot/usr/include/EGL/eglplatform.h:119:22: fatal error: X11/Xlib.h: No such file or directory compilation terminated.
However, the .pc file gives the solution:
egl.pc: prefix=/usr exec_prefix=${prefix} libdir=${exec_prefix}/lib includedir=${prefix}/include Name: egl Description: Mesa EGL library Requires.private: Version: 17.2.2 Libs: -L${libdir} -lEGL Libs.private: Cflags: -I${includedir} -DMESA_EGL_NO_X11_HEADERS
The temporary fix is to put that define in the compile flags by hand.