-
Notifications
You must be signed in to change notification settings - Fork 257
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
Support for Windows #20
Comments
Evidently enough, we haven't tried developing on Windows yet :D Thanks for the report. We do plan on supporting Windows, so this is helpful. |
In the short term, I found a work around: checkout the code in WSL and point IntelliJ at it: https://www.jetbrains.com/help/idea/how-to-use-wsl-development-environment-in-product.html |
I am re-purposing this issue to track Pkl support for Windows, and pointing other issues to this one. |
Is it possible to build native executables on windows as of now? |
A great first step would be to fix the Git clone issues. They block all other work/contributions. |
I updated the description of the issue to reflect the broader scope that as been assigned to this issue. I don't know know how issue editing permissions work in GitHub, so feel free to update the issue description as you see fit. Or close this in favor an issue that the maintainers of this project control if that is more convenient. |
It is not actively supported. @translatenix makes a valid point about cloning needing to be fixed first. Native executables are part of "done" for this issue. |
Extending the above comments about WSL, you can simply type |
Some additional items to add to this:
|
Please fix this. I want to try to mess around with Pkl but only own a windows machine. |
Support for the Windows platform would be nice. As a member of the open source community (not acting officially with any company), here are some things I noticed that stand in the way of full Windows support.
Cloning the repo on Windows
Currently the Git repo cannot be cloned on Windows.
This file has a backslash in its name:
pkl-core/src/test/files/LanguageSnippetTests/input-helper/globtest/\moduleC.pkl
Since Windows uses the backslash a path separator, it is unable to create this file. Cloning fails with this error message:
I tried working around this by doing a sparse checkout and have not had success. Git appears to validate path names before applying the sparse checkout filter.
Additionally, there are two directories with colons in the name. By default Git on Windows does not like these paths, but that could be worked around by setting
git config core.protectNTFS false
.Building on Windows
Not yet attempted.
CI support for Windows
Net yet attempted
Release builds on Windows
Net yet attempted
The text was updated successfully, but these errors were encountered: