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

Not working with Mac M1 Chip #5

Open
sebicas opened this issue Apr 3, 2023 · 9 comments
Open

Not working with Mac M1 Chip #5

sebicas opened this issue Apr 3, 2023 · 9 comments

Comments

@sebicas
Copy link

sebicas commented Apr 3, 2023

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?

@hotbso
Copy link
Owner

hotbso commented Apr 3, 2023

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

@hotbso hotbso closed this as completed Apr 3, 2023
@sebicas
Copy link
Author

sebicas commented Apr 3, 2023

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

@sebicas
Copy link
Author

sebicas commented Apr 4, 2023

@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!

@hotbso
Copy link
Owner

hotbso commented Apr 4, 2023

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?

@ghost
Copy link

ghost commented Apr 4, 2023 via email

@sebicas
Copy link
Author

sebicas commented Apr 4, 2023

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

@hotbso hotbso reopened this Apr 4, 2023
@ghost
Copy link

ghost commented Apr 13, 2023

@jcarter9840
Copy link

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

@hotbso
Copy link
Owner

hotbso commented May 28, 2023

@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.

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

3 participants