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

⬆️ v4l v0.14 & v4l2-sys-mit 0.3 #122

Merged
merged 1 commit into from
Jun 5, 2023

Conversation

OlivierLDff
Copy link

This release bump bindgen = "0.59" to bindgen = "0.65.1" which fix compilation error on ubuntu 20.04

Compile Error

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

Caused by:
  process didn't exit successfully: `/home/naostage/dev/nokhwa/target/debug/build/v4l2-sys-mit-5048993d2f304be7/build-script-build` (exit status: 101)
  --- stderr
  thread 'main' panicked at '"v4l2_pix_format_union_(anonymous_at_/usr/include/linux/videodev2_h_493_2)" is not a valid Ident'

Changelog

[0.14.0] - 2023-05-13

Added

  • Expose raw file descriptor of streams through Stream::handle()

Changed

  • Updated bindgen dependency to 0.65.1

Fixed

  • Use proper C FFI struct field for Integer64 controls
  • Fix example in README.md to account for the negotiated pixelformat

This release bump bindgen = "0.59" to bindgen = "0.65.1" which fix compilation error on ubuntu 20.04

# Changelog

## [0.14.0] - 2023-05-13
### Added
- Expose raw file descriptor of streams through `Stream::handle()` ### Changed
- Updated `bindgen` dependency to 0.65.1 ### Fixed
- Use proper C FFI struct field for `Integer64` controls
- Fix example in README.md to account for the negotiated pixelformat

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

Caused by:
  process didn't exit successfully: `/home/naostage/dev/nokhwa/target/debug/build/v4l2-sys-mit-5048993d2f304be7/build-script-build` (exit status: 101)
  --- stderr
  thread 'main' panicked at '"v4l2_pix_format_union_(anonymous_at_/usr/include/linux/videodev2_h_493_2)" is not a valid Ident'
```
@l1npengtul
Copy link
Owner

Will be sure to update for 0.11 which I will start when I have more time. Thanks for the heads up!

@l1npengtul l1npengtul merged commit 3be9227 into l1npengtul:0.10 Jun 5, 2023
@OlivierLDff OlivierLDff deleted the update-v4l-2 branch June 15, 2023 07:16
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