<div dir="ltr"><div>Hello together,</div><div>I try to compile kwin for Rasperry Pi 3 for embedded usage (opengles).</div><div><br></div><div>I use the latest kde yocto layers from master:</div><div><br></div><div><a href="https://phabricator.kde.org/source/yocto-meta-kf5/">https://phabricator.kde.org/source/yocto-meta-kf5/</a></div><div><a href="https://phabricator.kde.org/source/yocto-meta-kde/">https://phabricator.kde.org/source/yocto-meta-kde/</a></div><div><br></div><div>All other required layers are on yocto rocko branches.</div><div><br></div><div>My qtbase configuration is this one: </div><div><a href="https://paste.kde.org/pcbethmb6">https://paste.kde.org/pcbethmb6</a></div><div><br></div><div>OpenGL:</div><div>    Desktop OpenGL ....................... no</div><div>    OpenGL ES 2.0 ........................ yes</div><div>    OpenGL ES 3.0 ........................ no</div><div>    OpenGL ES 3.1 ........................ no</div><div><br></div><div>On the way to compile kwin I got an error like the one below while compiling kdeclarative:</div><div><br></div><div>error: 'void epoxy_glDrawArrays(GLenum, GLint, GLsizei)' redeclared as different kind of symbol</div><div><br></div><div>Could be solved with this patch:</div><div><a href="https://paste.kde.org/pav3dbhxy">https://paste.kde.org/pav3dbhxy</a></div><div><br></div><div>Hint to that snipped of code comes from here:</div><div><a href="https://github.com/schnitzeltony/meta-qt5-extra/issues/36">https://github.com/schnitzeltony/meta-qt5-extra/issues/36</a></div><div><br></div><div>And can originally found in kwin source code (kwinglutils_funcs.h)</div><div><br></div><div>Now, I am at the point of compiling kwin and got several similar errors.</div><div>All errors seems to be related to libepoxy in conjunction with opengles.</div><div><br></div><div>I simply did the same as above for kdeclarative and applied the few lines from kwin's kwinglutils_funcs.h</div><div>on all places where the error occurs:</div><div><br></div><div><a href="https://paste.kde.org/pgtkzf5yu">https://paste.kde.org/pgtkzf5yu</a></div><div><br></div><div>This leads me to the final error I'm not able to solve:</div><div><br></div><div>eglonxbackend.h:36:27: error: expected ')' before '*' token</div><div>|      EglOnXBackend(Display *display);</div><div>|                            ^</div><div>| /home/joern/yocto/tmp/work/cortexa7hf-neon-vfpv4-poky-linux-gnueabi/kwin/5.12.1-r0/git/plugins/platforms/x11/common/eglonxbackend.h:37:58: error: 'Display' has not been declared</div><div><br></div><div><a href="https://paste.kde.org/pimqgxedi">https://paste.kde.org/pimqgxedi</a></div><div><br></div><div>Which component normally declares "Display"?</div><div>Since the issue comes from "eglonxbackend" and the qtbase config has</div><div><br></div><div>EGL on X11 ........................... no</div><div><br></div><div>Could this cause the issue?</div><div><br></div><div>Maybe I'm completly on the wrong way ;-). </div><div>Hopfully someone can point me in the right direction.</div><div><br></div><div>Thanks and Best Regards,</div><div>Jörn</div></div>