0.4.0 builds, d505bd53 libcamera: camera_manager: Do not emit signals while does not
Pavel Machek
pavel at ucw.cz
Wed Mar 26 10:45:42 CET 2025
Hi!
> > libcamera 0.4.0 builds. With today's version (see subj):
>
> Seems like you're on the most recent master
Yep.
../meson.build:3:0: ERROR: Option "v4l2" value auto is not boolean (true or false).
> >
> > A full log can be found at /my/libcamera/build/meson-logs/meson-log.txt
> > FAILED: build.ninja
> > /usr/bin/meson --internal regenerate /my/libcamera .
> > ninja: error: rebuilding 'build.ninja': subcommand failed
> >
> > Any ideas?
>
> Since commit
> a94553231470 ("meson: Convert `v4l2` into a feature option")
>
> the 'v4l2' option is not a boolean anymore but instead a feature
> which should be controlled with -Dv4l2=enabled or -Dv4l2=disabled
>
> Your build directory has been configured before that commit went in,
> when 'v4l2' was a boolean. Either try to reconfigure the build dir
> (meson --reconfigure) or delete your build dir and create a new one.
Thank you, that did the job.
Is there easy trick to cross-build libcamera?
I have Librem 5. New kernel, cool camera, but can't build libcamera
due to old meson.
Then I have OnePlus 6. 4.19 kernel and cameras not supported by the
distro, but it can actually build libcamera. I tried copying around
libcamera and aarch64-linux-gnu dirs, but then it fails with:
purism at pureos:~/g/delme.libcamera$ LD_LIBRARY_PATH=aarch64-linux-gnu libcamera/build/src/apps/cam/cam
libcamera/build/src/apps/cam/cam: /lib/ld-linux-aarch64.so.1: version `GLIBC_2.35' not found (required by aarch64-linux-gnu/libc.so.6)
I gues I'd really need static build... (or a way to build libcamera
with old meson).
Best regards,
Pavel
--
I don't work for Nazis and criminals, and neither should you.
Boycott Putin, Trump, and Musk!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <https://lists.libcamera.org/pipermail/libcamera-devel/attachments/20250326/5f47e7f8/attachment.sig>
More information about the libcamera-devel
mailing list