hotbso / xgs

x-plane xgs landing speed plugin - reloaded

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Not working with Mac M1 Chip

sebicas opened this issue · comments

Hello, amazing plug-in thank so much!

But is not working with Apple M1 Silicion, here is the error:

Loaded: /Users/sebicas/X-Plane 12/Resources/plugins/rfxpl/64/mac.xpl (net.remoteflight.rfserver).

dlerror:dlopen(/Users/sebicas/X-Plane 12/Resources/plugins/xgs/64/mac.xpl, 0x0006): tried: '/Users/sebicas/X-Plane 12/Resources/plugins/xgs/64/mac.xpl' (mach-o file, but is an incompatible architecture (have (x86_64), need (arm64e)))

Any idea how can this be fixed?

commented

I need a volunteer with appropriate knowledge and hardware to compile the plugin for all Apple platforms.

@hotbso can you please re-open the issue... I will try to recompile and fix it.

@hotbso I was just able to compile with -arch arm64 and works great on my MacBook Pro M1

Happy to contribute the compiled file if you like... let me know.

Thanks!

commented

Send the binary (or a link) and will put it into the download kit.
So you used the Makefile.mac64 and just replaced the -arch argument?

So you used the Makefile.mac64 and just replaced the -arch argument?

Yes, correct... that is the only change I made

Will research a bit more what @Rodeo314 mentions and try to make it compatible with Intel+ARM
https://developer.apple.com/documentation/apple-silicon/building-a-universal-macos-binary

any chance I can get a copy of the complied M1 version? I have no idea how to do this myself.

commented

@hotbso I was just able to compile with -arch arm64 and works great on my MacBook Pro M1

Happy to contribute the compiled file if you like... let me know.

Thanks!

Can you please send the binary? There seems to be some interest.