fltk-rs: Cannot Install on Macbook pro m1
So I have a macbook pro m1 and i try to install fltk-rs and the error i am getting is ` Compiling fltk v0.15.6 error: failed to add native library /Users/namorahimi/Documents/Visual Studio Projects/guessing_game/target/debug/build/fltk-sys-790e153c70300d52/out/build/libcfltk.a: file too small to be an archive
error: aborting due to previous error
error: could not compile fltk-sys
To learn more, run the command again with --verbose. warning: build failed, waiting for other jobs to finish… error: build failed namorahimi@Namos-MacBook-Pro guessing_game % `
Does anybody have any idea ?
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Comments: 37 (7 by maintainers)
i have fixed my problem its vscode on my terminal it works fully thanks !!!
Could be that there is a local file corruption in your rust installation or at /Users/namorahimi/Documents/Visual Studio Projects/guessing_game
You could try any of the flkt examples. If that doesn’t work I’d uninstall and reinstall rust from scratch.
Hm… it seems like x86_64 is still being built. Are you using a x86 terminal or shell?
My rust toolchain list only contains:
To remove an unwanted toolchain
And just to make sure, try
my version is: