Closed tg44 closed 1 month ago
try deleting your Cargo.lock file and rebuilding
@tg44 were you able to build?
Nope, it is the same, after I deleted the Cargo.lock, the regenerated (updated) version has no version changes with libusb.
BUT this worked;
rustup target add aarch64-apple-darwin
cargo build --release --target=aarch64-apple-darwin
target/aarch64-apple-darwin/release/macropad-tool validate -h
So for some reasons, I needed to explicitly tell the rust compiler to compile against apple silicon even if I'm on apple silicon...
I get
ld: warning: ignoring file '/opt/homebrew/Cellar/libusb/1.0.27/lib/libusb-1.0.0.dylib': found architecture 'arm64', required architecture 'x86_64'
when I try to build.Is there any idea, how can I solve this problem? I tried to reinstall libusb. Also, googling did not helped me.