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

update v4l2 (fix compile issue) #59

Merged
merged 4 commits into from
Nov 27, 2023
Merged

update v4l2 (fix compile issue) #59

merged 4 commits into from
Nov 27, 2023

Conversation

sigmaSd
Copy link
Contributor

@sigmaSd sigmaSd commented Nov 27, 2023

Hello @lemunozm ! I hope you're doing well

I tried to compile the project with all features but it fails with

error: failed to run custom build command for `v4l2-sys-mit v0.2.0`

Caused by:
  process didn't exit successfully: `/home/mrcool/dev/rust/cargo_target_dir/debug/build/v4l2-sys-mit-96a866da0c5ee927/build-script-build` (exit status: 101)
  --- stderr
  thread 'main' panicked at /home/mrcool/.cargo/registry/src/index.crates.io-6f17d22bba15001f/proc-macro2-1.0.39/src/fallback.rs:700:9:
  "v4l2_pix_format_union_(anonymous_at_/usr/include/linux/videodev2_h_500_2)" is not a valid Ident
  note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
⏎                

Updating v4l2 seems to fix the issue for me

@lemunozm lemunozm merged commit 8385467 into lemunozm:master Nov 27, 2023
6 checks passed
@lemunozm
Copy link
Owner

Hi @sigmaSd!

Thanks a lot for your contribution, as always! 🚀

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

Successfully merging this pull request may close these issues.

2 participants