kliment / Printrun

Pronterface, Pronsole, and Printcore - Pure Python 3d printing host software
GNU General Public License v3.0
2.38k stars 996 forks source link

MacOS 12 support on M1 silicon #1254

Open deveshsnair opened 2 years ago

deveshsnair commented 2 years ago

Hi I can't open pronterface in MacOs 12 on the M1 mac is there any solution for it I'm bit new to ARM.

rockstorm101 commented 2 years ago

Possible duplicate of #1129. CC @a2k-hanlon. I believe there's a macOS Big Sur 11 runner available now? Will it work for macOS 12? Not sure it includes the ARM architecture though.

deveshsnair commented 2 years ago

Thank you I'll try the fix and see.

DEVESH S NAIR

On Mon, Apr 18, 2022, 1:55 PM Rock Storm @.***> wrote:

Possible duplicate of #1129 https://github.com/kliment/Printrun/issues/1129. CC @a2k-hanlon https://github.com/a2k-hanlon. I believe there's a macOS Big Sur 11 runner https://github.com/actions/virtual-environments/blob/main/images/macos/macos-11-Readme.md available now? Will it work for macOS 12? Not sure it includes the ARM architecture though.

— Reply to this email directly, view it on GitHub https://github.com/kliment/Printrun/issues/1254#issuecomment-1101212012, or unsubscribe https://github.com/notifications/unsubscribe-auth/AJFDBZF7NOVLQIF7BJJFRILVFUL6DANCNFSM5TUP6KZQ . You are receiving this because you authored the thread.Message ID: @.***>

a2k-hanlon commented 2 years ago

Hi! I would say this is actually a duplicate of #1191. The Mac build file permission problem in issue 1129 was fixed last year in 2.0.0rc8. As of issue 1191, the python app did not run successfully on M1 machines when packaged on an x64 machine. At the time, it was built using the macOS 10.15 runner. I can investigate to see if the new macOS 11 runner improves this situation.

In fact, the most recent Github action builds on the repo should already be using the new macOS 11 runner, since the macos-latest OS option specified in the macOS build workflow file now points to macOS 11.

So @deveshsnair, could you please try this binary and let me know if it works for you? https://github.com/kliment/Printrun/suites/5809666380/artifacts/194407693

If that binary doesn't work, please try the workaround of building the app from source, as described in the README, in order to run it on an M1 Mac. If you do try building it from source, please let me know how that goes too.

rockstorm101 commented 2 years ago

Can we confirm whether the latest binary built for macOS works on an M1 Mac? Hoping to close out this issue and #1191.

CC @DumbGameMaker

dgitman commented 2 years ago

It works but the port is missing

Screen Shot 2022-06-20 at 8 10 20 AM

.