trying to build the rpicam apps on a zero2w. Following https://www.raspberrypi.com/documentati ... picam-apps
I enter the following commands:and then I'm met with:I believe I'm not alone in this, as described here: https://github.com/raspberrypi/rpicam-apps/issues/616
Unsure what to do to proceed. I've tried reflashing with the latest twice now, same result.
Any help would be appreciated. Image may be NSFW.
Clik here to view.
I enter the following commands:
Code:
sudo apt install -y libcamera-dev libjpeg-dev libtiff5-dev libpng-devsudo apt install -y gitsudo apt install -y cmake libboost-program-options-dev libdrm-dev libexif-devsudo apt install -y meson ninja-buildcdgit clone https://github.com/raspberrypi/rpicam-apps.gitcd rpicam-appsmeson setup build -Denable_libav=false -Denable_drm=true -Denable_egl=false -Denable_qt=false -Denable_opencv=false -Denable_tflite=false -Dneon_flags=armv8-neonmeson compile -C build -j1
Code:
offline@offline:~/rpicam-apps $ meson compile -C build -j1 INFO: autodetecting backend as ninjaINFO: calculating backend command to run: /usr/bin/ninja -C /home/offline/rpicam-apps/build -j 1ninja: Entering directory `/home/offline/rpicam-apps/build'[3/39] Compiling C++ object rpicam_app.so.1.4.3.p/core_rpicam_app.cpp.oFAILED: rpicam_app.so.1.4.3.p/core_rpicam_app.cpp.oc++ -Irpicam_app.so.1.4.3.p -I. -I.. -Icore -I/usr/include/libcamera -I/usr/include -I/usr/include/arm-linux-gnueabihf -I/usr/include/libpng16 -I/usr/include/libdrm -fdiagnostics-color=always -Wall -Winvalid-pch -Wextra -Wpedantic -Werror -std=c++17 -O3 -pedantic -Wno-unused-parameter -faligned-new -D_FILE_OFFSET_BITS=64 -Wno-psabi -DLIBDRM_PRESENT=1 -fPIC -pthread -DBOOST_ALL_NO_LIB -MD -MQ rpicam_app.so.1.4.3.p/core_rpicam_app.cpp.o -MF rpicam_app.so.1.4.3.p/core_rpicam_app.cpp.o.d -o rpicam_app.so.1.4.3.p/core_rpicam_app.cpp.o -c ../core/rpicam_app.cpp../core/rpicam_app.cpp:25:10: fatal error: libcamera/orientation.h: No such file or directory 25 | #include <libcamera/orientation.h> | ^~~~~~~~~~~~~~~~~~~~~~~~~compilation terminated.ninja: build stopped: subcommand failed.offline@offline:~/rpicam-apps $
Unsure what to do to proceed. I've tried reflashing with the latest twice now, same result.
Any help would be appreciated. Image may be NSFW.
Clik here to view.

Statistics: Posted by ephermal — Wed Mar 13, 2024 12:12 am