Skip to content
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

[Linux] Cannot build/start v2.6.1 from the given source tar #5236

Closed
mchlnix opened this issue Aug 26, 2024 · 3 comments
Closed

[Linux] Cannot build/start v2.6.1 from the given source tar #5236

mchlnix opened this issue Aug 26, 2024 · 3 comments

Comments

@mchlnix
Copy link

mchlnix commented Aug 26, 2024

I downloaded the tarball from release 2.6.1 [1] and tried building them using the information here [2].

I could build it just fine, but when starting I get the error message, that the server and client versions are incompatible, since the server is still only 2.6.

It seems like you forgot to update the download link and check sum of the 2.6.1 server binary in the install_release.sh script.

I changed line 5 and 6 to:

PREBUILT_SERVER_URL=https://github.com/Genymobile/scrcpy/releases/download/v2.6.1/scrcpy-server-v2.6.1
PREBUILT_SERVER_SHA256=ca7ab50b2e25a0e5af7599c30383e365983fa5b808e65ce2e1c1bba5bfe8dc3b

After reinstalling with that it works as expected.

I won't do a pull request, since it will be outdated as soon as you do a new release anyway. So this is just a reminder.

[1] https://github.com/Genymobile/scrcpy/releases/tag/v2.6.1
[2] https://github.com/Genymobile/scrcpy/blob/master/doc/linux.md

@mchlnix
Copy link
Author

mchlnix commented Aug 26, 2024

I see. I followed the build instructions [1] and it said "if you want to build the latest release". I can see that below it, it defines latest release as whatever is on master, but as someone wanting the latest release, I go to the releases tab.

I figured it out myself, so I guess it doesn't matter much, but maybe rewording the docs a bit, stressing that you should use master and not the source code of the actual latest release would help. Or pinning the issue you mentioned, so it's easier to find.

https://github.com/Genymobile/scrcpy/blob/master/doc/build.md

@rom1v
Copy link
Collaborator

rom1v commented Sep 15, 2024

Tag v2.7 points to the updated install_release.sh 🚀

@rom1v rom1v closed this as completed Sep 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants