2025-06-10 6:55 AM
I am trying to build the libcamera from the source files provided in "en.STSW-IMG502_RPI.zip" and I am getting the following error. I have cloned https://github.com/raspberrypi/libcamera.git and confirmed I can successfully build it to verify I have installed all the necessary tools.
Here is the output from the meson setup command:
$ sudo meson setup build --buildtype=release -Dpipelines=rpi/vc4,rpi/pisp -Dipas=rpi/vc4,rpi/
pisp -Dv4l2=enabled -Dgstreamer=disabled -Dtest=false -Dlc-compliance=disabled -Dcam=disabled -Dqcam=disabled -Ddocumentation=disabled -Dpycamera=enabled
The Meson build system
Version: 1.5.1
Source dir: /home/chad/stcam/STSW-IMG502_RPI/STSW-IMG502_RPI_v.0.5.0/libcamera0.5_0.5.0+rpt20250429+st20250606/src
Build dir: /home/chad/stcam/STSW-IMG502_RPI/STSW-IMG502_RPI_v.0.5.0/libcamera0.5_0.5.0+rpt20250429+st20250606/src/build
Build type: native build
Project name: libcamera
Project version: 0.5.0
C compiler for the host machine: cc (gcc 12.2.0 "cc (Debian 12.2.0-14+deb12u1) 12.2.0")
C linker for the host machine: cc ld.bfd 2.40
C++ compiler for the host machine: c++ (gcc 12.2.0 "c++ (Debian 12.2.0-14+deb12u1) 12.2.0")
C++ linker for the host machine: c++ ld.bfd 2.40
Host machine cpu family: aarch64
Host machine cpu: aarch64
Header "fcntl.h" has symbol "F_ADD_SEALS" : YES
Header "unistd.h" has symbol "issetugid" : NO
Header "locale.h" has symbol "locale_t" : YES
Header "sys/mman.h" has symbol "memfd_create" : YES
Header "stdlib.h" has symbol "secure_getenv" : YES
Compiler for C supports arguments -Wno-c99-designator: NO
Found pkg-config: YES (/usr/bin/pkg-config) 1.8.1
Found CMake: /usr/bin/cmake (3.25.1)
Run-time dependency lttng-ust found: NO (tried pkgconfig and cmake)
Program ./parser.py found: YES (/usr/bin/python3 /home/chad/stcam/STSW-IMG502_RPI/STSW-IMG502_RPI_v.0.5.0/libcamera0.5_0.5.0+rpt20250429+st20250606/src/utils/codegen/ipc/./parser.py)
Program ./generate.py found: YES (/usr/bin/python3 /home/chad/stcam/STSW-IMG502_RPI/STSW-IMG502_RPI_v.0.5.0/libcamera0.5_0.5.0+rpt20250429+st20250606/src/utils/codegen/ipc/./generate.py)
Program ./extract-docs.py found: YES (/usr/bin/python3 /home/chad/stcam/STSW-IMG502_RPI/STSW-IMG502_RPI_v.0.5.0/libcamera0.5_0.5.0+rpt20250429+st20250606/src/utils/codegen/ipc/./extract-docs.py)
utils/meson.build:4:0: ERROR: Nonexistent build file 'utils/ipu3/meson.build'