Cycling74 / max-mxj

Java support for Max by Cycling '74
MIT License
17 stars 11 forks source link

Hotfix/runtime jre for apple arm #70

Open kristofb opened 2 years ago

kristofb commented 2 years ago

Hi, My changes concerns only macOS. They enable JRE embedding for Apple M1 architecture. I also updated readme file for that purpose, and also Windows building procedure.

(however I am not able to build a proper running mxj for windows, even from your branch, i probably lack some instructions, if you can provide some help, i'll check my build on Windows).

pslack commented 2 years ago

take a look at Jeremy's branch jb/apple-silicon I was using that as a build reference. I also did some work on M1 but more for wavedna centric , anyways check this branch out, keep in mind that I actually changed the mxj so not particularly useful for you but the embedding is hard coded for wavedna as java is in a fixed place .. anyways this builds on windows as well and osx https://github.com/WaveDNA/max-mxj-1/tree/mxjwave , I think I also had trouble with the master build version and so this is why I went to Jeremy's branches. I'm not sure which branch was built for production but I suspect it was apple-silicon in order to get the product out for M1 compatibility push

kristofb commented 2 years ago

I started from branch jb/cmake because I saw jb/apple-silicon was merged inside it even if git tree is not showing it. For what I think, jb/cmake is the most up to date branch.