Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error run or build #60

Open
eleimt opened this issue Jan 21, 2024 · 2 comments
Open

Error run or build #60

eleimt opened this issue Jan 21, 2024 · 2 comments

Comments

@eleimt
Copy link

eleimt commented Jan 21, 2024

Raspberry Pi 4
Go 1.21
CMD: env GOARCH=arm64 GOOS=linux go run cmd/main.go
Output:

# github.com/vladimirvivien/go4vl/v4l2
../go/pkg/mod/github.com/vladimirvivien/[email protected]/v4l2/types.go:11:15: undefined: Capability
../go/pkg/mod/github.com/vladimirvivien/[email protected]/v4l2/types.go:12:14: undefined: IOType
../go/pkg/mod/github.com/vladimirvivien/[email protected]/v4l2/types.go:23:15: undefined: BufType
@unitsnet
Copy link

sudo apt install build-essential
I execute this command and it work

@Aleksei-Badyaev
Copy link

Aleksei-Badyaev commented Oct 15, 2024

Ubuntu 22.04
Go 1.23
CMD: go build cmd/main.go
Output:

# github.com/vladimirvivien/go4vl/v4l2
vendor/github.com/vladimirvivien/go4vl/v4l2/control_values.go:145:39: could not determine kind of name for C.V4L2_CID_COLORFX_RGB
vendor/github.com/vladimirvivien/go4vl/v4l2/control_values.go:115:32: could not determine kind of name for C.V4L2_COLORFX_SET_RGB
vendor/github.com/vladimirvivien/go4vl/v4l2/control_values.go:76:41: could not determine kind of name for C.V4L2_CTRL_TYPE_VP9_COMPRESSED_HDR
vendor/github.com/vladimirvivien/go4vl/v4l2/control_values.go:77:41: could not determine kind of name for C.V4L2_CTRL_TYPE_VP9_FRAME

The sudo apt install build-essential command did not help.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants