-
Notifications
You must be signed in to change notification settings - Fork 10.3k
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
swift repl on windows 11 not work #61062
Comments
Since I could not find the
|
I have the same issue. Could not get the Swift toolchain working in Windows 11. |
@Microtribute The toolchain should work well on both Windows 10 and 11. (In fact the toolchain was built against Windows 11 SDK) If anything but REPL was broken, feel free to file a new issue. The REPL seems broken on Windows — both Windows 10 and 11, VS 2019 and 2022. Ideally after Swift 5.7 a single |
@stevapple Thank you. Indeed. REPL doesn't work. |
Little success. This is not a true solution, but a workaround that makes swift repl partially work on my Windows PC. Assuming Swift is installed on its default paths:
This makes the Swift basic stuff start to work.
Anyway, something is still not working:
(print does not print anything) |
This works for me. But why this works? |
Any idea when this will be fixed? |
Same issue. |
same issue, but on Windows 10. |
same issue on windows 10. Edit: |
Because it is working around the LLDB issue that is currently the cause of this problem. The library search path is not honoured when loading the libraries, and the failure to load the library is silently ignored resulting in undefined references in the JIT'ed environment. The issue here is within LLDB and needs to be resolved. |
Same issue here |
Hi, |
Hi there, I have the exact same issue. |
Same issue for me. |
Duplicate of #56026 |
Unfortunately, GH does not transfer the subscribers when an issue is marked as duplicate. Just leaving a note here for those that are interested in this that I could use a bit of help with testing (I believe that this should be usable now with a recent snapshot). There are instructions for testing in #56026. |
Describe the bug
I downloaded and installed the latest swift. But when I followed the docs on https://www.swift.org/getting-started/#on-windows-1, it crashed.
Steps To Reproduce
Steps to reproduce the behavior:
set SWIFTFLAGS=-sdk %SDKROOT% -I %SDKROOT%/usr/lib/swift -L %SDKROOT%/usr/lib/swift/windows
swift repl -target x86_64-unknown-windows-msvc %SWIFTFLAGS%
Expected behavior
swift repl works as expected.
Screenshots
Environment (please fill out the following information)
Additional context
shell logs
The text was updated successfully, but these errors were encountered: