Swift - Installation and Getting Started on Windows

preview_player
Показать описание
How to install Swift for Windows and compile a simple Swift program.

Commands used in the video:
- In a x64 Native Tools for VS2019 Command Prompt (Admin)

- Environments variables for the Swift compiler:
set SWIFTFLAGS=-sdk %SDKROOT% -resource-dir %SDKROOT%\usr\lib\swift -I %SDKROOT%\usr\lib\swift -L %SDKROOT%\usr\lib\swift\windows

- Building a Swift program:
Рекомендации по теме
Комментарии
Автор

Wow! I didn't know Slavoj Žižek was in programming. Nice.

carlbrenner
Автор

I'm stuck at the command where it says the system cannot find the path specified.

mesterp
Автор

Hi, thank you for this informative video can you explore more of Swift in Windows? Would appreciate it and subbed ;)

muhlumu
Автор

Does Swift for Windows just do CLI stuff like on Linux, or can you do some GUI stuff?

jwkranenburg
Автор

3rd command is not getting accessed
Showing Access denied

hypein
Автор

Can you please tell me how can I add visual code instead of notepad, while adding VS code, it shows me an error.

ramshankarkumar
Автор

is it 18mb just for the hello world app?

_slier
Автор

Why does the last command work, but the 'swift package' command doesn't?

jarrettgoh
Автор

Replace C:\Program Files (x86)\Windows (Yes/No/All) , what I do ?

lifeforce
Автор

Hey I am having trouble. I don't have enough space in c so i changed to e but when i change it it says i have not changed the destination pls help

itonly
Автор

Anyone tried this on Windows 7 Pro 64 bit?

ninjatheory
Автор

Way too complicated, will wait unil it more mature.

herbertmsauro
Автор

wow this is a terrible setup experience. No wonder nobody uses swift outside of apples platforms.

Xaxxus
Автор

I hate apple too, this kind of shit are really... shit.

VkXGames
Автор

I need help, the swift download page shows windows 10^1 not windows 10^2 is this a problem i can fix?

yihuiliu