[libcamera-devel] build error with libunwind-14-dev

Christian Rauch Rauch.Christian at gmx.de
Sat Aug 13 13:38:10 CEST 2022


Hello,

tl;dr: On Ubuntu 22.04, "libunwind-14-dev" breaks the build process.

When "libunwind-14-dev" is installed (sudo apt install libunwind-14-dev)
meson will report "Library libunwind found: YES" but ninja will fail
with "../src/libcamera/base/backtrace.cpp:26:10: fatal error:
libunwind.h: Datei oder Verzeichnis nicht gefunden
" (file not found).

The header "libunwind.h" is indeed in multiple conflicting Ubuntu
packages, and the build only works with "libunwind-dev". All versioned
packages (libunwind-12-dev libunwind-13-dev, libunwind-14-dev) will show
the issue above.

Best,
Christian



More information about the libcamera-devel mailing list