0.4.0 builds, d505bd53 libcamera: camera_manager: Do not emit signals while does not

Barnabás Pőcze barnabas.pocze at ideasonboard.com
Wed Mar 26 10:52:12 CET 2025


Hi


2025. 03. 26. 10:45 keltezéssel, Pavel Machek írta:
> 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?

You can use a meson cross file, or does that not work?
( https://mesonbuild.com/Cross-compilation.html )


> 
> 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

Current libcamera requires at least linux 5.0 as far as I know.


Regards,
Barnabás Pőcze


> 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
> 



More information about the libcamera-devel mailing list