Skip to content

Commit 9076b59

Browse files
KapJIfacebook-github-bot
authored andcommitted
update Windows section in README
Summary: Add some basic steps as on other platforms. Reviewed By: krallin Differential Revision: D39348296 fbshipit-source-id: 409b7a506db9f838d526507c98f3516d7a273718
1 parent 016f0f5 commit 9076b59

File tree

1 file changed

+23
-2
lines changed

1 file changed

+23
-2
lines changed

README.md

Lines changed: 23 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,9 +68,30 @@ If cargo complains about SSL peer certificate or SSH remote key error, then you
6868

6969
### Windows setup
7070

71-
Buck2 on Windows is still a work in progress.
71+
To set up a Windows machine run:
7272

73-
* If you get an error about linking and `d3d12.lib` then install [the Windows SDK](https://developer.microsoft.com/en-us/windows/downloads/windows-sdk/).
73+
```shell
74+
fbclone fbsource --eden [dest_dir] # dest_dir is optional
75+
```
76+
77+
Install OpenSSL to have no warnings from rust-analyzer:
78+
79+
```shell
80+
cd C:\open
81+
git clone https://github.com/microsoft/vcpkg
82+
cd vcpkg
83+
.\bootstrap-vcpkg.bat
84+
.\vcpkg.exe integrate install
85+
.\vcpkg.exe install openssl:x64-windows-static-md
86+
```
87+
88+
Then in Administrator terminal:
89+
90+
```shell
91+
choco install cmake -s 'https://chocolatey.org/api/v2/'
92+
```
93+
94+
Install Rust toolchain: https://win.rustup.rs/x86_64
7495

7596
### Incremental development
7697

0 commit comments

Comments
 (0)