mirror of
https://github.com/servo/servo.git
synced 2025-08-05 13:40:08 +01:00
Auto merge of #18353 - tigercosmos:readme-w, r=larsbergstrom
add note on windows build <!-- Please describe your changes on the following line: --> add note on windows build to `README.md` based on #18291 @larsbergstrom, please check, thanks. --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: --> - [ ] `./mach build -d` does not report any errors - [ ] `./mach test-tidy` does not report any errors - [ ] These changes fix #__ (github issue number if applicable). <!-- Either: --> - [ ] There are tests for these changes OR - [X] These changes do not require tests because `README` <!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.--> <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. --> <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/18353) <!-- Reviewable:end -->
This commit is contained in:
commit
7cb47f1636
1 changed files with 6 additions and 0 deletions
|
@ -112,6 +112,12 @@ settings for the installer are fine).
|
||||||
|
|
||||||
4. Install Visual Studio Community 2017 (https://www.visualstudio.com/). You MUST add "Visual C++" to the
|
4. Install Visual Studio Community 2017 (https://www.visualstudio.com/). You MUST add "Visual C++" to the
|
||||||
list of installed components. It is not on by default.
|
list of installed components. It is not on by default.
|
||||||
|
> If you encountered errors with the environment above, do the following for a workaround:
|
||||||
|
> 1. Download and install [Build Tools for Visual Studio 2017](https://www.visualstudio.com/thank-you-downloading-visual-studio/?sku=BuildTools&rel=15)
|
||||||
|
> 2. Install `python2.7 x86-x64` and `virtualenv`
|
||||||
|
> 3. Since `mach.bat` cannot find the prompt, you should execute `Developer Command Prompt for VS 2017` manually in the Windows menu. ( You may need to choose the type, such as `x86_x64 Cross Tools Command Prompt for VS 2017`, manually if it cannot recognize type correctly. )
|
||||||
|
> 4. `cd to/the/path/servo`
|
||||||
|
> 5. `python mach build -d`
|
||||||
|
|
||||||
#### Cross-compilation for Android
|
#### Cross-compilation for Android
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue