-
-
Notifications
You must be signed in to change notification settings - Fork 10.7k
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
scrcpy.exe is not compatible with the version of Windows you're running #46
Comments
If the binary is not compatible with your architecture, you must build it manually. |
Thanks @rom1v for the pointer. Just wondering though, the pre-built one listed there for which version of Windows and 32/64 bit? |
Looks like the pre-built archive for Windows is for 64 bit (x86-x64). I chose to install MSYS2 i686, but when I tried to download the necessary packages via pacman, it seems stuck. Can I get pre-built archive for Windows 32-bit anywhere? |
I tried to build manually for Windows 32 bit but stuck on building it via meson. $ meson Can anyone give me pointer on what I did wrong? |
Don't even try that |
Whats wrong with jdk 8? That's not the reason meson is not there, is it? I tried to find jdk 9 for 32bit windows but couldn't find it. |
@BuTau I'm terribly sorry, I misread it as JDK 9. |
@stek29 no probs. Do you have any ideas why meson is not recognised as valid command even after getting the package in msys2 via pacman as stated in the instructions? |
@BuTau probably you're trying it in WSL bash and not msys2 |
@stek29. I get the meson running now (I run mingw32.exe, instead of msys2.exe) but now giving me another error. It seems it cannot complete the build. Build started at 2018-03-15T17:43:13.353696 Meson encountered an error: A full log can be found at C:/msys32_new/meson-logs/meson-log.txt The command I ran: Before I ran the command, I downloaded the prebuilt server from Any ideas why the build not successful? :( P.S. I created a new folder C:/msys32_new/x and created meson.build empty file to get meson build to run |
You should try to build it in directory with sources lol |
I put this in meson.build project('scrcpy', 'java') and now it complains the following: @SL-FDPXYZ1 MINGW32 /c/msys32_new/x |
Thanks @rom1v for the pointer.
What did I do wrong now? |
The types size_t and ssize_t are defined on Windows (in MSYS2), so there is no need to typedef SIZE_T and SSIZE_T. Exit code is "unsigned long" both on Windows 32 and 64 bits. See <#46 (comment)>.
Nothing, thank you for the report. 👍 I just fixed it on Just update to the last version ( |
Thanks @rom1v. got it all working now! Cheers! |
Hi,
First of all, thanks to devs for creating this tool.
I tried to install it on my Windows 7 32-bit using Nexus 6p Android 8.1 but it does not work.
I can see my device is authorized from adb devices command, but when I then invoke scrcpy, it says the following error:
This version of H:\scrcpy-windows-v1.0\scrcpy.exe is not compatible with the version of Windows you're running. Check your computer's system information to see whether you need a x86 (32-bit) or x64 (64-bit) version of the program, and then contact the software publisher.
adb.exe is already in PATH system variable.
I tried to use Compatibility Mode and set it to Windows 7 and Run As Administrator, but they do not fix the issue.
Does scrcpy require 64-bit and won't work with 32-bit?
Any ideas why this happens and how to resolve it?
Really looking forward to get this working so I can use the tool..
Thanks
The text was updated successfully, but these errors were encountered: