-
Notifications
You must be signed in to change notification settings - Fork 10
Unable to compile RustDesk with rust9x targets #49
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
Comments
Just lurked the internets for such error and found this, possibly related: rust-lang#99466 (comment). |
Do note that there are likely issues in rust9x-1.76 that I've fixed in newer versions |
Also I'm pretty sure there are at least a few additional crates that will need patching to run on anything older in there |
The source code I'm building: https://github.com/Eclipse-Community/rust9xdesk
RustDesk can't compile with Rust 1.78.0+ and they still use 1.75.0, the closest here is 1.76.0, so I grabbed it. I can compile RustDesk fine with the default x86_x64-pc-windows-msvc target, but if I use either rust9x target, compiling fails.
I don't really expect you to make a new 1.76.0 release, but I would like to know what to look for, either to make my own build, or to fix RustDesk to compile with rust9x.
I started with the master branch, and the error there occurs when compiling nokhwa, so I figured remove nokhwa from it, and it should work. Except nope it does not. I also discovered nokhwa compiles fine by itself. (after downgrading mozjpeg to match RustDesk's version)
This is what I get when building RustDesk with nokhwa (1.39/master)
This is what I get when building RustDesk without nokhwa (1.39/master with camera commit reverted)
Apparently GitHub has a character limit, so.
https://pastebin.com/fdMp5QcC
The text was updated successfully, but these errors were encountered: