You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Compile on raspberry pi Bullseye 32bit armhf is failed by mismatched types
Compiling ncnn-rs v0.1.2 (https://github.com/tpoisonooo/rust-ncnn.git?rev=89fde76#89fde767)
error[E0308]: mismatched types
--> /home/pi/.cargo/git/checkouts/rust-ncnn-61b5afba67685a71/89fde76/ncnn-rs/src/mat.rs:400:18
|
399 | pub fn cstep(&self) -> u64 {
| --- expected `u64` because of return type
400 | unsafe { ncnn_mat_get_cstep(self.ptr) }
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `u64`, found `u32`
|
help: you can convert a `u32` to a `u64`
|
400 | unsafe { ncnn_mat_get_cstep(self.ptr).into() }
| +++++++
For more information about this error, try `rustc --explain E0308`.
error: could not compile `ncnn-rs` (lib) due to previous error
Compile on raspberry pi Bullseye 32bit armhf is failed by mismatched types
NCNN_TAG="20220721"
The text was updated successfully, but these errors were encountered: