-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Could not compile nfc1
: no size_t
in the root
#8
Comments
Hi @riklus, I don't see what target you are using. I've compiled and ran this successfully on macOS with XCode build tools (no homebrew!), a Windows computer with MSVC and Linux with gcc (Debian-based distros). Could you post the output of: rustc -vV | sed -n 's|host: ||p' Also, what compiler toolchains do you have installed? alexrsagen/rs-nfc1-sys#4 seems related. |
The target is: Other tools installed through homebrew are: cocoapods, coreutils I noticed another issue using
Maybe are they all related to some misconfiguration of homebrew's toolchains? |
I tried running the same command Using: But I get the same error. |
I think the issue might be having a Could you try having only XCode and Regarding running with |
I tried the
Which is strange... how can the cmake create not be found? About compiling with only gcc/libc on Mac I think isn't possible because it switches to clang and I honestly don't know how to force the compilation with gcc. |
I also tried to run
My codespace is:
|
Exactly the same errors on Ubuntu:
|
Sorry about the delay in response from me here, I will try to reproduce the issue on Ubuntu/macOS and see if I can fix this. |
I can confirm that it compiles and successfully runs with 0.5.1. Thanks @alexrsagen! |
As the title states, I can't compile the module using:
Darwin riklus-macbookpro.local 20.6.0 Darwin Kernel Version 20.6.0: Tue Jun 21 20:50:28 PDT 2022; root:xnu-7195.141.32~1/RELEASE_X86_64 x86_64
cargo 1.67.1 (8ecd4f20a 2023-01-10)
rustc 1.67.1 (d5a82bbd2 2023-02-07)
cargo check
The text was updated successfully, but these errors were encountered: