-
-
Notifications
You must be signed in to change notification settings - Fork 11.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add build support for Windows on ARM64 (based on llvm-mingw) #3252
base: dev
Are you sure you want to change the base?
Conversation
Thank you for your work. The "prebuilt" mechanism of scrcpy is quite rudimentary (it downloads prebuilt releases). This can be a limitation (we could not patch dependencies as necessary), but in practice it "works". However, this is acceptable only if the prebuilt binaries are "official" (e.g. linked from the official website of the dependency). It could not depend on binaries from random repositories. I understand that official binaries do not exist for ARM64 (so you did build them by yourself), but it is a problem to depend on |
It is feasible to build dependencies from the official code. Maybe I can modify the script to support it? @rom1v |
@ZIXT233 Please read the discussion in #1753 first :) It would be great to (optionally) build (from Linux) the dependencies (SDL, FFmpeg, libusb, adb), but still be able to use either the official prebuilt or the existing package already installed, if any. After that, yes, we could add the scripts/options to cross-build for Windows-arm64. |
@rom1v So are you considering adding optional deps dynamic building scripts/options for more common situation? |
Separate scripts to build the dependencies when requested (similar to the contribs in vlc), so that the resulting binaries could be used to build scrcpy, would be great, yes. |
I'll try it. It may take some time to design. |
I started a skeleton: #3283 |
We'd like to fix this properly in libusb: libusb/libusb#1192 |
I would like to cross-compile scrcpy application for ARM-32bit architecture. does it support ARM Platform ? |
I tried to cross compile scrcpy for win on arm64 using llvm-mingw, which seems to be working properly and significantly improves video performance in win on arm64.
What I did:
Known issue:
I'm not sure where to put the prebuilt package to ensure its maintenance .
Let me know if there are any problems.