'cargo build : failed to run custom build command for nfc1-sys v0.2.1
new to rust here.
I have included nfc1 in my Cargo.toml file, and when running cargo build, I am faced with a failed to run custom build command for nfc1-sys v0.2.1 error. Followed by:
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [libnfc/libnfc.6.0.0.dylib] Error 1
make[1]: *** [libnfc/CMakeFiles/nfc.dir/all] Error 2
make: *** [all] Error 2
thread 'main' panicked at '
command did not execute successfully, got: exit status: 2
build script failed, must exit now'
I am on MacOS Monterey, v12.0.1
rustc 1.59.0
Any help is much appreciated please, thank you !
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
