Closed SeptimusX75 closed 3 years ago
Well either it's because the module doesn't exist or because a feature wasn't enabled.
(Re-opening because the opener's situation hasn't been resolved yet)
Thanks for asking!
naïveté
I appreciate your use of the diaeresis and grave accent.
The bitmap
module should exist, so as @dvc94ch mentioned, it's probably a matter of specifying the right feature flag in your Cargo.toml:
ndk = { version = "0.2.1", features = ["bitmap"] }
I apologize if this isn't documented clearly. Feature flag discovery is a common issue in the Rust ecosystem, unfortunately.
@francesca64 closing due to inactivity
I'm a rust noob so I apologize for my naïveté. I'm trying to use this library from another rust library with no main method (not sure if this matters). I added a dependency to
ndk = "0.2.1"
and imported it withuse ndk::bitmap::{AndroidBitmap, AndroidBitmapInfo};
. When I attempt to compile I get the following:I'm also using the following:
Is this likely an issue with the crate or is it user error? Any help would be appreciated. Thanks.