mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
Auto merge of #24460 - larsbergstrom:windows_install_reqs, r=nox
Add PYTHON3 and Universal Windows C Runtime requirements to README <!-- Please describe your changes on the following line: --> Adds additional documentation for how to properly set up a new Win10 environment to build Servo. - [x] These changes fix #24457 <!-- 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/24460) <!-- Reviewable:end -->
This commit is contained in:
commit
8ecbed9e42
1 changed files with 7 additions and 1 deletions
|
@ -196,6 +196,12 @@ You should change the installation to install the "Add python.exe to Path" featu
|
||||||
|
|
||||||
2. Install Python 3.7 for Windows (https://www.python.org/downloads/release/python-374/). The Windows x86-64 MSI installer is fine. This is required in order to build the JavaScript engine, SpiderMonkey.
|
2. Install Python 3.7 for Windows (https://www.python.org/downloads/release/python-374/). The Windows x86-64 MSI installer is fine. This is required in order to build the JavaScript engine, SpiderMonkey.
|
||||||
|
|
||||||
|
You will also need to set the `PYTHON3` environment variable, e.g., to 'C:\Python37\python.exe' by doing:
|
||||||
|
```
|
||||||
|
setx PYTHON3 "C:\Python37\python.exe" /m
|
||||||
|
```
|
||||||
|
The `/m` will set it system-wide for all future command windows.
|
||||||
|
|
||||||
3. Install virtualenv.
|
3. Install virtualenv.
|
||||||
|
|
||||||
In a normal Windows Shell (cmd.exe or "Command Prompt" from the start menu), do:
|
In a normal Windows Shell (cmd.exe or "Command Prompt" from the start menu), do:
|
||||||
|
@ -219,7 +225,7 @@ Note that you should ensure that _all_ components are installed from gstreamer,
|
||||||
settings for the installer are fine).
|
settings for the installer are fine).
|
||||||
|
|
||||||
7. Install Visual Studio Community 2017 (https://www.visualstudio.com/vs/community/). You MUST add "Visual C++" to the
|
7. Install Visual Studio Community 2017 (https://www.visualstudio.com/vs/community/). You MUST add "Visual C++" to the
|
||||||
list of installed components. It is not on by default. Visual Studio 2017 MUST installed to the default location or mach.bat will not find it.
|
list of installed components as well as the "Windows Universal C runtime." They are not on by default. Visual Studio 2017 MUST installed to the default location or mach.bat will not find it.
|
||||||
|
|
||||||
##### [Optional] Install LLVM for faster link times
|
##### [Optional] Install LLVM for faster link times
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue