ucblogo-code icon indicating copy to clipboard operation
ucblogo-code copied to clipboard

MacOS ready-to-run version fails on Apple Silicon Mac

Open GrantMeStrength opened this issue 1 year ago • 4 comments

The jpeg library is not present, and when manually built and installed, it is an ARM but USBLogo needs an X86 version (I am assuming that the UCBLogo binary is X86 and running under rosetta on the Apple Silicon Mac). Best fix would be an Apple Silicon specific build? Or some guidance on compiling USBLogo for Apple Silicon Mac?

GrantMeStrength avatar Mar 06 '23 17:03 GrantMeStrength

Issue #158 has some notes on the core problem and a dmg (please see comment: https://github.com/jrincayc/ucblogo-code/issues/158#issuecomment-1436071882) built using the updated GitHub pipeline (which configures wxWidgets to not have a link to those libraries).

I'll need to double check what I did when tracking that issue down - I had originally assumed it was an Apple Silicon issue and then shifted my focus as I realized the more general problem was that wxWidgets had picked up unintended dependencies during its build (those libraries are present on the GitHub build nodes; but, they shouldn't be a required dependency for running UCBLogo). I'll see if I got to a full Apple Silicon native build of UCBLogo + wxWidgets and if so what steps I followed.

dmalec avatar Mar 06 '23 17:03 dmalec

Thanks! The version in the other issue works for me. Thank you very much.

GrantMeStrength avatar Mar 06 '23 17:03 GrantMeStrength

You're welcome, glad to help :)

dmalec avatar Mar 24 '23 01:03 dmalec

Hopefully this is fixed in 6.2.4: https://github.com/jrincayc/ucblogo-code/releases/tag/version_6.2.4

jrincayc avatar Mar 28 '23 11:03 jrincayc

Hashtag-works-for-me!

Just wanted to verify that 6.2.4 (downloaded from the link in the comment by @jrincayc above) works on my Mac. It's an M2 Silicon.

While I do have Homebrew installed, I tested with these steps:

  1. Comment out Homebrew references in .zshrc.
  2. Move "/opt/homebrew" to "/opt/homebrew_aside".
  3. Reboot.
  4. Run UCBLogo from the Finder.

I think this is safe to close.

jasonsikes avatar May 02 '24 16:05 jasonsikes