[Pkg-electronics-devel] Bug#1027137: kicad: FTBFS: #error "KICAD_USE_EGL can only be used when wxWidgets is compiled with the EGL canvas"

Andreas Metzler ametzler at bebt.de
Thu Dec 29 17:00:31 GMT 2022


Control: tags -1 patch

On 2022-12-28 Sebastian Ramacher <sramacher at debian.org> wrote:
> Source: kicad
> Version: 6.0.10+dfsg-1
> Severity: serious
> Tags: ftbfs
> Justification: fails to build from source (but built successfully in the past)
> X-Debbugs-Cc: sramacher at debian.org

> https://buildd.debian.org/status/fetch.php?pkg=kicad&arch=amd64&ver=6.0.10%2Bdfsg-1%2Bb2&stamp=1672197224&raw=0
[...]
> /<<PKGBUILDDIR>>/include/gal/opengl/kiglew.h:47:14: error: #error "KICAD_USE_EGL can only be used when wxWidgets is compiled with the EGL canvas"
>    47 |             #error "KICAD_USE_EGL can only be used when wxWidgets is compiled with the EGL canvas"
>       |              ^~~~~

Hello,

wxWidgets has recently switched back to non-EGL (See
https://bugs.debian.org/1024147 and https://bugs.debian.org/1020640),
for kicad the build error is trivially fixable by changing 
	-DKICAD_USE_EGL=ON \
back to
	-DKICAD_USE_EGL=OFF \

(Ideally the cmake setup should check wxWidgets's EGL-status and set
KICAD_USE_EGL accordingly instead of failing at build-time.)

cu Andreas
-- 
`What a good friend you are to him, Dr. Maturin. His other friends are
so grateful to you.'
`I sew his ears on from time to time, sure'



More information about the Pkg-electronics-devel mailing list