#Need help adding program on buildroot

1 messages · Page 1 of 1 (latest)

rapid ibex
#

I'm making a webcam on Raspberry Pi Zero 2 W with Camera Module 3 and thought it would be fun to use buildroot to make it faster since I don't need an entire OS. I'm completely stuck on how to get the program compiled with buildroot. All my issues seem to be coming from the .mk file for the package I made. I specifically keep getting this error:

meson.build:3:0: ERROR: Could not invoke sanity test executable: [Errno 8] Exec format error: '/home/user/buildroot/output/build/uvc-gadget-main/build/meson-private/sanitycheckc.exe'.

I'm using this uvc-gadget. I'm using the raspberrypizero2w_64_defconfig from buildroot and I just added pigpio, libcamera, libjpeg, and a post-build.sh to set usb to otg.

supple fern
#

How are you using buildroot

rapid ibex
#

In wsl 2

meager goblet
#

Apparently there are issues with wsl 2 and buildroot. I advice using VM for buildroot.

#

Wsl2 doesn't support fakeroot which is required for buildroot.