Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 6977

C/C++ • Compiling Qt6 Missing EGL/eglext_brcm.h

$
0
0
Hello all,
**tldr**
Where can I get EGL/eglext_brcm.h?

**Background**
My ultimate aim is to create a cross compile environment for qt aimed at r pi 4. So Qt 6.4.2 and wayland. To do this I need to compile qt 6.4.2 with wayland plugin with driver for brcm for both host (x86) and target (r pi 4). (forgive me if I am teaching my grandmother to suck eggs here.)

**Set-up**

Code:

git clone git@github.com:qt/qt5.git
Initialise repository

Code:

./init-repository -f --module-subset=qtbase,qtwayland,qtdeclarative,qtimageformats,qtlanguageserver,qtshadertools,qtsvggit checkout 6.4.2
Configure

Code:

cmake ../qt5/ -GNinja -DCMAKE_BUILD_TYPE=Release -DQT_BUILD_EXAMPLES=OFF -DQT_BUILD_TESTS=OFF -DCMAKE_INSTALL_PREFIX=$QTBUILDROOT/qt-host/ -DBUILD_qtwayland=ON -DQT_FEATURE_eglfs_brcm=ON
then build, upon which I get the following error

Code:

from /home/tommy/projects/rPi4_OS/crossCompile/qt6/qt5ReproQt6CodeAndBuild/qt-hostbuild/qtwayland/src/plugins/hardwareintegration/client/brcm-egl/QWaylandBrcmEglClientBufferPlugin_autogen/EWIEGA46WW/moc_qwaylandbrcmeglwindow.cpp:9,                 from /home/tommy/projects/rPi4_OS/crossCompile/qt6/qt5ReproQt6CodeAndBuild/qt-hostbuild/qtwayland/src/plugins/hardwareintegration/client/brcm-egl/QWaylandBrcmEglClientBufferPlugin_autogen/mocs_compilation.cpp:2:/home/tommy/projects/rPi4_OS/crossCompile/qt6/qt5ReproQt6CodeAndBuild/qt-hostbuild/qtwayland/src/plugins/hardwareintegration/client/brcm-egl/QWaylandBrcmEglClientBufferPlugin_autogen/EWIEGA46WW/../../../../../../../../../qt5/qtwayland/src/plugins/hardwareintegration/client/brcm-egl/qwaylandbrcmeglintegration.h:14:10: fatal error: EGL/eglext_brcm.h: No such file or directory   14 | #include <EGL/eglext_brcm.h>      |          ^~~~~~~~~~~~~~~~~~~compilation terminated.[5985/6455] Building CXX object qtwayland/src/compositor/CMakeFiles/WaylandCompositor.dir/cmake_pch.hxx.gchninja: build stopped: subcommand failed.
I can't find this file anywhere on my pi or internet, nor can I seem to be able to locate a package that contains it. Does anyone have any idea where it is?

Statistics: Posted by NTVisitor — Thu Apr 03, 2025 1:51 pm — Replies 0 — Views 36



Viewing all articles
Browse latest Browse all 6977

Trending Articles