mirror of
https://github.com/Genymobile/scrcpy.git
synced 2026-04-21 01:33:36 +00:00
Update README and FAQ for the new Windows releases
Document how to generate a Windows release from Linux. It solves the "no output" issue on Windows, so update the FAQ.
This commit is contained in:
parent
aedc2c2da9
commit
6b4bbb1fb3
2 changed files with 32 additions and 24 deletions
33
README.md
33
README.md
|
|
@ -91,8 +91,37 @@ For Windows, for simplicity, a prebuilt archive with all the dependencies
|
|||
|
||||
_(It's just a portable version including _dll_ copied from MSYS2.)_
|
||||
|
||||
Instead, you may want to build it manually. You need [MSYS2] to build the
|
||||
project. From an MSYS2 terminal, install the required packages:
|
||||
Instead, you may want to build it manually.
|
||||
|
||||
##### Cross-compile from Linux
|
||||
|
||||
This is the preferred method (and the way the release is built).
|
||||
|
||||
From _Debian_, install _mingw_:
|
||||
|
||||
```bash
|
||||
sudo apt install mingw-w64 mingw-w64-tools
|
||||
```
|
||||
|
||||
You also need the JDK to build the server:
|
||||
|
||||
```bash
|
||||
sudo apt install openjdk-8-jdk
|
||||
```
|
||||
|
||||
Then generate the releases:
|
||||
|
||||
```bash
|
||||
make -f Makefile.CrossWindows
|
||||
```
|
||||
|
||||
It will generate win32 and win64 releases into `dist/`.
|
||||
|
||||
|
||||
##### In MSYS2
|
||||
|
||||
From Windows, you need [MSYS2] to build the project. From an MSYS2 terminal,
|
||||
install the required packages:
|
||||
|
||||
[MSYS2]: http://www.msys2.org/
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue