Closed wubigo closed 2 years ago
it reports same error on my local linux desktop:
ubuntu@server:~/go/src/github.com/wubigo/device-usb-camera$ uname -r
5.10.5-051005-generic
ubuntu@server:~/go/src/github.com/wubigo/device-usb-camera$ make
CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-usb-camera.Version=0.0.0" -o cmd/device-usb-camera ./cmd
# github.com/vladimirvivien/go4vl/v4l2
../../../../pkg/mod/github.com/vladimirvivien/go4vl@v0.0.2-0.20211216162907-40b41ba86c5c/v4l2/capability.go:48:33: could not determine kind of name for C.V4L2_CAP_IO_MC
make: *** [Makefile:21: cmd/device-usb-camera] Error 2
sudo dpkg -i linux-libc-dev_5.10.0-14.15_amd64.deb
@wubigo thanks for reporting this and posting your solution!!
GCC