I have encountered an issue when trying to execute sketches that function and export correctly on an older MacBook Pro when these sketches are attempted to be run on a new MacBook Pro using a new M1 processor. I have tried to use two different versions of Processing. 1) the stable 3.5.4 release (17 Jan 2021) and 2) pre-release 4.0 alpha 3 (17 Jan 2021). Both appear to have similar issues.
The sketches fail - i.e. they only open a blank window and the following is displayed in the console:
0 AppKit 0x00007fff22c308bf -[NSWindow(NSWindow_Theme)_postWindowNeedsToResetDragMarginsUnlessPostingDisabled] + 352
1 AppKit 0x00007fff22c1b561 -[NSWindow_initContent:styleMask:backing:defer:contentView:] + 1375
2 AppKit 0x00007fff22c1affb -[NSWindow initWithContentRect:styleMask:backing:defer:] + 42
3 libnativewindow_macosx.jnilib 0x000000012a7883fe Java_jogamp_nativewindow_macosx_OSXUtil_CreateNSWindow0 + 398
4 ??? 0x000000010eed84c8 0x0 + 4545414344
but, experimenting with some of the simple Processing Examples, I noted that if I add a
size(900,600,P3D);
frameRate(30);
a “frameRate” command immediately after “size” that the sketch executes and runs correctly in the IDE.
So that is positive, but if I then try to export the sketch as an application, the exported app is created but it fails when you try to run it.
So, based on the comments in:
it appears that there remain issues with the Processing IDE and the M1 processor.
I am curious is others have had these problems and if based on the comment in the github
- Haven’t had a chance to test much with macOS running on M1 machines. Chances are this should run in Rosetta mode, but I’ve not had time to find out."
anyone has tried to install the Rosetta mode on a MacBook Pro with the M1 processor with success in resolving these problems?