-
Notifications
You must be signed in to change notification settings - Fork 33
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 installation fails #185
Comments
I'm also having this problem. |
A lot of things broke in the script when esp32 LLVM upstream changed their links.
I manually completed the installation by doing the following:
You can edit the installer ps1 script to output the values of various variables if you need to see where certain things are installed. TBH, it's a lot of work and the toolchain doesn't feel like it's ready for prime time yet. It ought to be a single command. Maybe I'll give it another try some other day. |
Hi! I'm sorry for not getting back to you sooner. Most of our team is now on vacation. We will probably look at this issue the next week, in the meantime, I can recommend having a look at cargo install espup
espup install
%USERPROFILE%\export-esp.ps1 |
Hi @ardave, @JonGrasses Have you tried using |
Yes! It looks like your espup-related commands followed by this https://esp-rs.github.io/book/installation/troubleshooting.html#using-wrong-rust-toolchain have me back on track. Thanks a million! (I'll leave it up to you to close, just in case anyone else needs to chime in.) |
|
See this PR if you are trying to use this on Windows: esp-rs/espup#420 The espup installer claims the variables are set, even if they don't get set. I am suggesting a change to the message, but you can just run the |
I run
https://github.com/esp-rs/rust-build/releases/download/v1.66.0.0/Install-RustToolchain.ps1
and it fails with
* installing C:\Users\dave/.espressif/tools/xtensa-esp32-elf-clang/esp-15.0.0-20221201-x86_64-pc-windows-msvc
** downloading: https://github.com/esp-rs/rust-build/releases/download/llvm-project-14.0-minified/xtensa-esp32-elf-llvm15_0_0-esp-15.0.0-20221201-x86_64-pc-windows-msvc.zip
Invoke-WebRequest : Not Found**
At C:\Users\dave\Downloads\Install-RustToolchain.ps1:146 char:9
Invoke-WebRequest "${LlvmUrl}" -OutFile ${LlvmFile}
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
CategoryInfo : InvalidOperation: (System.Net.HttpWebRequest:HttpWebRequest) [Invoke-WebRequest], WebException
FullyQualifiedErrorId : WebCmdletWebResponseException,Microsoft.PowerShell.Commands.InvokeWebRequestCommand
... a "Not Found" which I can verify by using curl.
Apologies that I do not know how to "browse" the release files available on github to troubleshoot.
The text was updated successfully, but these errors were encountered: