-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
Building failed caused by a syntax error in scanner.c #2692
Comments
Are you running an old version of a C/C++ compiler? IIRC the haskell grammar only needs C99 now (#1417) |
My compiler version is gcc 6.3.0 on windows cmd. I also tried WSL, and there, it is version gcc 9.3.0. I actually just tried to install helix with a WSL terminal and everything worked. The only issue is that the So I tried updating my version of GCC/MinGW on cmd but I can't figure out how to do this. I tried looking for solutions online but they didn't seem to work... However this seems to be the problem, not helix Although that could mean that the haskell grammar needs a more recent version of C than C99? I'm not sure |
I succeeded in upgrading GCC, I now have gcc version 12.1.0. However, I got the same error at line 211 in scanner.c in the haskell grammar directory. I'm not sure why it worked with WSL but not with cmd though... |
I confirm this issue on Cygwin version 3.3.5-1 running on Windows 7. Building fails with exactly the same error output in scanner.c |
Helix now requires a C11 compiler for compiling grammars so I am closing this as stale.
Windows 7 is also EOL and not supported by rust (and by extension helix). |
Summary
I tried building helix as per the instructions on the website and got the following error:
Reproduction Steps
I'm running Windows 11 and I opened a command prompt with Admin privileges, then navigated to "C:\Program Files\Helix". I then followed the instructions:
Helix log
No response
Platform
Windows 11
Terminal Emulator
Windows cmd
Helix Version
helix 22.05
The text was updated successfully, but these errors were encountered: