Comments (3)
The actual master branch fails building on raspberry pi:
pi@raspberrypi:~/rusty_pi_cam $ RUST_BACKTRACE=1 cargo run --example v4l
Updating git repository `https://github.com/raymanfx/libv4l-rs`
Compiling v4l2-sys-mit v0.2.0 (https://github.com/raymanfx/libv4l-rs?branch=master#d7ac716f)
Compiling v4l v0.12.2 (https://github.com/raymanfx/libv4l-rs?branch=master#d7ac716f)
error[E0308]: mismatched types
--> /home/pi/.cargo/git/checkouts/libv4l-rs-917e1f4ffd90b94a/d7ac716/src/device.rs:269:59
|
269 | control.__bindgen_anon_1.string = val.as_ptr() as *mut i8;
| ------------------------------- ^^^^^^^^^^^^^^^^^^^^^^^ expected `u8`, found `i8`
| |
| expected due to the type of this binding
|
= note: expected raw pointer `*mut u8`
found raw pointer `*mut i8`
For more information about this error, try `rustc --explain E0308`.
error: could not compile `v4l` due to previous error
pi@raspberrypi:~/rusty_pi_cam $ uname -a
Linux raspberrypi 5.10.63-v7+ #1496 SMP Wed Dec 1 15:58:11 GMT 2021 armv7l GNU/Linux
I think it's fixed in #43
from libv4l-rs.
0.13.0 has been released on crates.io.
from libv4l-rs.
Thanks a lot for releasing and pinging us, @raymanfx! 🙇
from libv4l-rs.
Related Issues (20)
- Cannot set bytesused using meta struct when queueing data. HOT 2
- Device enumeration bug HOT 2
- Safe ioctl calls to set parameters HOT 1
- v4l2: api: Fix ioctl() argument type mismatch on different platforms HOT 1
- Feature: output device support HOT 1
- Feature: add support for Extended Controls (VIDIOC_S_EXT_CTRLS) HOT 3
- delay HOT 2
- Maintenance HOT 3
- Missing reset_controls HOT 1
- Problems I encountered using this crate. HOT 4
- Failed to start media pipeline HOT 2
- Accessing to Handle for Streams HOT 1
- Publish `next` to crates.io HOT 2
- Hardware Encoding/Decoding HOT 1
- please release a new version of v4l2-sys-mit HOT 1
- Unable to build for RISC-V HOT 2
- Any way to tell device to write into a memory region i defined? HOT 1
- Publish `Stream::handle()` on crates.io HOT 1
- Feature request: convert to image HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from libv4l-rs.