-
-
Notifications
You must be signed in to change notification settings - Fork 357
zig build config panic due to invalid object name on windows #194
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
Comments
I am also running into this issue. Exact same problematic path on my machine. |
hmm, I had this problem too, but with a different path, and I was able to debug it. Curiously, I actually went looking into issues because I'm having trouble getting this to build on Linux, but I got it to build on Windows just fine; I then tinkered to try to reproduce your error and was able to reproduce it. I compiled zls just fine on windows by following the current provided instructions in the readme, reproduced here for posterity:
This was using zig 0.7.1 from zls commit d5aa131 on Windows. I ran this successfully inside of git bash inside of terminal.exe. I was also able to reproduce your bug, by doing the exact same thing ... in cmd.exe. Oddly, it does not work in cmd.exe, but DOES work in Git Bash. I also debugged this and found a problematic search path: um, do you have a directory on your path that has a I believe this is the related issue in zig itself: ziglang/zig#6044 |
Does this still happen as of the latest commit? |
I will try to repro this and #158 as soon as I get my installation of Windows running again. |
Closed in #286, please reopen this if you still are facing issues. |
Hi,
Running
zig build config
run into panic on my machine due to a weird path name while it was looking for zig.exe.Output:
I debugged and the problematic path was this:
C:\Program Files (x86)\Gpg4win\..\GnuPG\bin\zig.exe
The text was updated successfully, but these errors were encountered: