Unable to compile RustDesk with rust9x targets #54
Replies: 3 comments
-
Just lurked the internets for such error and found this, possibly related: rust-lang#99466 (comment). |
Beta Was this translation helpful? Give feedback.
-
Do note that there are likely issues in rust9x-1.76 that I've fixed in newer versions |
Beta Was this translation helpful? Give feedback.
-
Also I'm pretty sure there are at least a few additional crates that will need patching to run on anything older in there |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
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
Beta Was this translation helpful? Give feedback.
All reactions