Code Monkey home page Code Monkey logo

Comments (3)

chriamue avatar chriamue commented on July 4, 2024

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.

raymanfx avatar raymanfx commented on July 4, 2024

0.13.0 has been released on crates.io.

from libv4l-rs.

strohel avatar strohel commented on July 4, 2024

Thanks a lot for releasing and pinging us, @raymanfx! 🙇

from libv4l-rs.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.