-
Notifications
You must be signed in to change notification settings - Fork 6
Description
I found this project very interesting and kind of related to what I am trying to develop here.
I am trying to build the true-frame-rate example running
cargo build --release --example true-frame-rate --target armv7-unknown-linux-gnueabihf --features="examples"
,
but I get 5 errrors as shown below:
"
128 | Clb: mlx9064x::common::CalibrationData<'a>,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in find_frequency
error[E0277]: the trait bound Mlx90641Calibration: MelexisCamera
is not satisfied
--> mlx9064x/examples/true-frame-rate.rs:44:28
|
44 | find_frequency(&mut camera, num_frames)?
| -------------- ^^^^^^^^^^^ the trait MelexisCamera
is not implemented for Mlx90641Calibration
| |
| required by a bound introduced by this call
|
= help: the following other types implement trait MelexisCamera
:
Mlx90640
Mlx90641
note: required by a bound in find_frequency
--> mlx9064x/examples/true-frame-rate.rs:127:10
|
114 | fn find_frequency<
| -------------- required by a bound in this function
...
127 | Cam: mlx9064x::common::MelexisCamera,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in find_frequency
error[E0277]: the trait bound I2cdev: CalibrationData<'_>
is not satisfied
--> mlx9064x/examples/true-frame-rate.rs:44:28
|
44 | find_frequency(&mut camera, num_frames)?
| -------------- ^^^^^^^^^^^ the trait CalibrationData<'_>
is not implemented for I2cdev
| |
| required by a bound introduced by this call
|
= help: the following other types implement trait CalibrationData<'a>
:
Mlx90640Calibration
Mlx90641Calibration
note: required by a bound in find_frequency
--> mlx9064x/examples/true-frame-rate.rs:128:10
|
114 | fn find_frequency<
| -------------- required by a bound in this function
...
128 | Clb: mlx9064x::common::CalibrationData<'a>,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in find_frequency
Some errors have detailed explanations: E0107, E0277.
For more information about an error, try rustc --explain E0107
.
error: could not compile mlx9064x
(example "true-frame-rate") due to 5 previous errors"
Since it's using the I2CDev library, I supposed I could have run it on linux;
on which platforms is possible to use this crate ?