[libcamera-devel] [PATCH 3/9] README: Add libboost to list of dependencies

Kieran Bingham kieran.bingham at ideasonboard.com
Wed Sep 23 21:57:58 CEST 2020


Hi Ricardo,

On 23/09/2020 16:15, Ricardo Ribalda wrote:
> Without it:
> 
> Run-time dependency libudev found: NO (tried pkgconfig and cmake)
> Run-time dependency threads found: YES
> Run-time dependency Boost found: NO
> 
> src/ipa/raspberrypi/meson.build:5:0: ERROR: Dependency "boost" not found

This one is actually optional - it's just a sub-optimal method to work
around it.

I'd really like this to be automatic so that if it's not found the
raspberry-pi pipeline is disabled, and I even have a patch I created
several weeks ago.

But I'm not particularly happy with that - and so I haven't submitted it ;-(


> 
> Signed-off-by: Ricardo Ribalda <ricardo at ribalda.com>
> ---
>  README.rst | 3 +++
>  1 file changed, 3 insertions(+)
> 
> diff --git a/README.rst b/README.rst
> index cfd0be7..9013c1d 100644
> --- a/README.rst
> +++ b/README.rst
> @@ -57,6 +57,9 @@ Meson Build system: [required]
>              pip3 install --user meson
>              pip3 install --user --upgrade meson
>  
> +Boost C++ Libraries: [required]

I think we could add this as [optional], stating that it is required to
enable the RPi IPA.

The difficulty is that the RPi IPA is enabled by default, so that's why
it impacts users more.

To disable, you can specify -Dpipelines=vimc,uvcvideo,ipu3,rkisp1 on the
meson configuration line.

That's not particularly friendly either though - so maybe I should just
post my patch to disable the RPi IPA when there is no boost library
found, and hash it out on there.

--
Kieran



> +        libboost-dev
> +
>  for IPA module signing: [required]
>          libgnutls28-dev openssl
>  
> 

-- 
Regards
--
Kieran


More information about the libcamera-devel mailing list