You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For more options and information see http://rptl.io/configtxt
Some settings may impact device functionality. See link above for details
Uncomment some or all of these to enable the optional hardware interfaces
#dtparam=i2c_arm=on
#dtparam=i2s=on
#dtparam=spi=on
Enable audio (loads snd_bcm2835)
dtparam=audio=on
Additional overlays and parameters are documented
/boot/firmware/overlays/README
Automatically load overlays for detected cameras
camera_auto_detect=1
Automatically load overlays for detected DSI displays
display_auto_detect=1
Automatically load initramfs files, if found
auto_initramfs=1
Don't have the firmware create an initial video= setting in cmdline.txt.
Use the kernel's default instead.
disable_fw_kms_setup=1
Run in 64-bit mode
arm_64bit=1
Disable compensation for displays with overscan
disable_overscan=1
Run as fast as firmware / board allows
arm_boost=1
[cm4]
Enable host mode on the 2711 built-in XHCI USB controller.
This line should be removed if the legacy DWC2 controller is required
(e.g. for USB device mode) or if USB support is not required.
otg_mode=1
[cm5]
dtoverlay=dwc2,dr_mode=host
[all]
gpu_mem=256
dtoverlay=imx519
The text was updated successfully, but these errors were encountered:
Error after:
git clone https://github.com/ayufan-research/camera-streamer.git --recursive
apt-get -y install libavformat-dev libavutil-dev libavcodec-dev libcamera-dev liblivemedia-dev v4l-utils pkg-config xxd build-essential cmake libssl-dev
cd camera-streamer/
make
pi@pi:~/camera-streamer $ make
echo "#define GIT_VERSION "v0.2.8-3-g4203f89"\n#define GIT_REVISION "4203f89"" > version.h.tmp
if g++ -Werror -Wall -g -I/home/pi/camera-streamer -D_GNU_SOURCE -Wno-error=deprecated-declarations -DUSE_HW_H264 -DUSE_FFMPEG -DUSE_LIBCAMERA -I/usr/include/libcamera -DUSE_RTSP -I/usr/include/liveMedia -I/usr/include/groupsock -I/usr/include/BasicUsageEnvironment -I/usr/include/UsageEnvironment -DUSE_LIBDATACHANNEL -Ithird_party/libdatachannel/include -Ithird_party/libdatachannel/deps/json/include -o tests/libcamera/orientation.o -c tests/libcamera/orientation.cc 2>/dev/null; then
echo "#define LIBCAMERA_USES_ORIENTATION" >> version.h.tmp;
else
echo "#define LIBCAMERA_USES_TRANSFORM" >> version.h.tmp;
fi
diff -u version.h version.h.tmp || mv version.h.tmp version.h
rm -f version.h.tmp
make camera-streamer
make[1]: Entering directory '/home/pi/camera-streamer'
g++ -std=c++17 -MMD -Werror -Wall -g -I/home/pi/camera-streamer -D_GNU_SOURCE -Wno-error=deprecated-declarations -DUSE_HW_H264 -DUSE_FFMPEG -DUSE_LIBCAMERA -I/usr/include/libcamera -DUSE_RTSP -I/usr/include/liveMedia -I/usr/include/groupsock -I/usr/include/BasicUsageEnvironment -I/usr/include/UsageEnvironment -DUSE_LIBDATACHANNEL -Ithird_party/libdatachannel/include -Ithird_party/libdatachannel/deps/json/include -c -o device/libcamera/options.o device/libcamera/options.cc
device/libcamera/options.cc: In function ‘int libcamera_device_dump_control_option(int ()(device_option_t, void*), void*, const libcamera::ControlId&, const libcamera::ControlInfo*, const libcamera::ControlValue*, bool)’:
device/libcamera/options.cc:183:10: error: enumeration value ‘ControlTypePoint’ not handled in switch [-Werror=switch]
183 | switch (control_id.type()) {
| ^
device/libcamera/options.cc: In function ‘int libcamera_device_set_option(device_t*, const char*, const char*)’:
device/libcamera/options.cc:400:12: error: enumeration value ‘ControlTypePoint’ not handled in switch [-Werror=switch]
400 | switch (control_id->type()) {
| ^
cc1plus: all warnings being treated as errors
make[1]: *** [Makefile:106: device/libcamera/options.o] Error 1
make[1]: Leaving directory '/home/pi/camera-streamer'
make: *** [Makefile:67: all] Error 2
additional infos:
uname -srm
Linux 6.6.62+rpt-rpi-v8 aarch64
uname -a
v4l2-ctl --list-devices
Linux pizero 6.6.62+rpt-rpi-v8 #1 SMP PREEMPT Debian 1:6.6.62-1+rpt1 (2024-11-25) aarch64 GNU/Linux
unicam (platform:3f801000.csi):
/dev/video0
/dev/video1
/dev/media0
bcm2835-codec-decode (platform:bcm2835-codec):
/dev/video10
/dev/video11
/dev/video12
/dev/video18
/dev/video31
/dev/media3
bcm2835-isp (platform:bcm2835-isp):
/dev/video13
/dev/video14
/dev/video15
/dev/video16
/dev/video20
/dev/video21
/dev/video22
/dev/video23
/dev/media1
/dev/media2
hostnamectl
Static hostname: pizero
Icon name: computer
Machine ID: 30d80c9676364a04aea8b0970ae139ee
Boot ID: 2972dc1e89494eaf9af7e5d704126d7f
Operating System: Debian GNU/Linux 12 (bookworm)
Kernel: Linux 6.6.62+rpt-rpi-v8
Architecture: arm64
/boot/firmware/config.txt
For more options and information see
http://rptl.io/configtxt
Some settings may impact device functionality. See link above for details
Uncomment some or all of these to enable the optional hardware interfaces
#dtparam=i2c_arm=on
#dtparam=i2s=on
#dtparam=spi=on
Enable audio (loads snd_bcm2835)
dtparam=audio=on
Additional overlays and parameters are documented
/boot/firmware/overlays/README
Automatically load overlays for detected cameras
camera_auto_detect=1
Automatically load overlays for detected DSI displays
display_auto_detect=1
Automatically load initramfs files, if found
auto_initramfs=1
Enable DRM VC4 V3D driver
dtoverlay=vc4-kms-v3d,cma-128
max_framebuffers=2
Don't have the firmware create an initial video= setting in cmdline.txt.
Use the kernel's default instead.
disable_fw_kms_setup=1
Run in 64-bit mode
arm_64bit=1
Disable compensation for displays with overscan
disable_overscan=1
Run as fast as firmware / board allows
arm_boost=1
[cm4]
Enable host mode on the 2711 built-in XHCI USB controller.
This line should be removed if the legacy DWC2 controller is required
(e.g. for USB device mode) or if USB support is not required.
otg_mode=1
[cm5]
dtoverlay=dwc2,dr_mode=host
[all]
gpu_mem=256
dtoverlay=imx519
The text was updated successfully, but these errors were encountered: