fpv-wtf / dji-moonlight-gui

GNU General Public License v3.0
28 stars 1 forks source link

Mac Version #5

Open StefanMeGit opened 7 months ago

StefanMeGit commented 7 months ago

Great project! Any chance there will be a version running on an Mac? Or a workaround?

j005u commented 7 months ago

The current GUI relies heavily on Microsoft's Webview2, which is not available for OS X.

Additionally moonlight-embedded, which the GUI relies on, won't compile on OS X without major changes.

So the tl;dr; is not any time soon, unless someone completely re-writes it from the ground up.

Patronics commented 2 weeks ago

@j005u I've gotten the MacOS version of the moonlight-embedded compiling. Was a bit of a headache, and untested so far, since I haven't installed the M1 compatible HoRNDIS drivers yet. I had to bypass a couple files, but I found that at least one other person working with the non-DJI moonlight embedded was able to bypass using those files to enable its use on another operating system. Here's the changes I did to get it compiling. Other than that, the biggest headache was make not seeing some of the header files that should've been in its path, I had to manually point CMake to those directories.

It likely needs some dependencies from homebrew as well, which I've installed from previous priojects.

j005u commented 2 weeks ago

Are you saying loop.c is not required and things will work without it? IIRC getting that to compile was the main issue, but I could be wrong.

On the HoRNDIS front don't bother - libusb is superior anyway and the only reason we use the RNDIS fallback is because of driver issues on Windows - these should not be present on OS X with libusb.