thinkski / go-v4l2

A pure Go implementation of Video4Linux2 stream capture with a zero-copy channel interface.
MIT License
22 stars 4 forks source link

undefined v4l2.Open #4

Open svenczbg opened 2 years ago

svenczbg commented 2 years ago

Hello, when I try compiling examples/record.go, I get the following error:

`go build examples/record.go

command-line-arguments

examples/record.go:36:19: undefined: v4l2.Open examples/record.go:46:8: undefined: v4l2.V4L2_PIX_FMT_H264 `

I've installed your package with go get github.com/thinkski/go-v4l2. I can see that Open() is defined in device.go. Do you have an idea what's wrong? Something with the package path?

Thank you and best regards, Sven