mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Auto merge of #23819 - larsbergstrom:update_windows_readme, r=jdm
Fix Python and gstreamer instructions for Windows <!-- Please describe your changes on the following line: --> Improved the README.md to address missing information for bootstrapping a Windows build. --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `___` with appropriate data: --> - [x ] `./mach build -d` does not report any errors - [x ] `./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 changes <!-- 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/23819) <!-- Reviewable:end -->
This commit is contained in:
commit
4128a38936
1 changed files with 6 additions and 1 deletions
|
@ -209,9 +209,12 @@ export LIBCLANG_PATH=$(llvm-config --prefix)/lib64
|
|||
```
|
||||
#### On Windows (MSVC)
|
||||
|
||||
1. Install Python for Windows (https://www.python.org/downloads/release/python-2716/). The Windows x86-64 MSI installer is fine.
|
||||
1. Install Python 2.7 for Windows (https://www.python.org/downloads/release/python-2716/). The Windows x86-64 MSI installer is fine. This is required for the build system execution and many dependencies.
|
||||
|
||||
You should change the installation to install the "Add python.exe to Path" feature.
|
||||
|
||||
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 virtualenv.
|
||||
|
||||
In a normal Windows Shell (cmd.exe or "Command Prompt" from the start menu), do:
|
||||
|
@ -222,6 +225,8 @@ pip install virtualenv
|
|||
|
||||
3. Install the most recent [GStreamer](https://gstreamer.freedesktop.org/data/pkg/windows/) development package following [these instructions](https://github.com/sdroege/gstreamer-rs#gstreamer-binaries-1). You will also need to add `C:\gstreamer\1.0\x86_64\lib` to your `LIB` environment variable.
|
||||
|
||||
Note that you should ensure that _all_ components are installed from gstreamer, as we require many of the optional libraries that are not installed by default.
|
||||
|
||||
4. Install Git for Windows (https://git-scm.com/download/win). DO allow it to add git.exe to the PATH (default
|
||||
settings for the installer are fine).
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue