-
Notifications
You must be signed in to change notification settings - Fork 229
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
Windows build fails because of symlinked target files #29
Comments
|
Huh! I was running on 2020-07-25, a |
And you've pulled this repository since this commit 5 days ago, right? |
Yup, I'm on c8bde5f |
Huh, never seen that one before ... Looks strange to say the least. On first glance I'd say you are compiling for the wrong target but that doesn't seem to be the case ... Things to come to mind:
|
I'm not sure if I have $ avr-gcc --version
avr-gcc.exe (WinAVR 20100110) 4.3.3
$ avr-cpp.exe --version
avr-cpp.exe (WinAVR 20100110) 4.3.3 Here's the cargo build
Oh also I realized I might've not run it from the right dir? From the uno dir I get:
Can't say that I learned anything from that error yet. My .cargo/config.toml is the same as in master indeed. |
Ok, it looks like Rust isn't picking up on the target. I wonder if that's because NTFS doesn't like the fact that |
Oh I don't know how you got that from that but it seemed to have done the trick. Thank you for looking into it with me. Anything I can do to prevent other NTFS-people from running into it? |
I figured that out because the 6th line in you last code block indicated that it had trouble reading the file, and seeing the path It turns out that Windows still doesn't support symlinks by non-admin users by default, wtf! To fix this (stolen from StackOverflow):
@Rahix, we should either document this or remove symlinks. |
What a mess ...
Right, I'll think about it. Now that we can use |
Yup that worked too! Though a branch switch wasn't enough for me, had to re-clone. Thanks again :) |
No more symlinks in this repository so hopefully no more build-issues on windows! |
Heya,
just checked this out on Windows 10 with rust 1.47.0-nightly and tried to run the uno-blink example but got:
Same problem in WSL 2 Ubuntu with the same rust version. Any pointers would be appreciated, maybe it's something I could look at myself.
The text was updated successfully, but these errors were encountered: