Skip to content

Present and fullScreen() not working on Processing 4.0b4(Apple Silicon) #372

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

Closed
processing-bot opened this issue Jan 25, 2022 · 3 comments
Closed

Comments

@processing-bot
Copy link
Collaborator

Created by: jaegonlee

Description

fullScreen() and present a full screen do not work on Processing 4b4.

Current Behavior

Error said

A library used by this sketch relies on native code that is not available.
UnsatisfiedLinkError: /private/var/folders/zd/vgjzf6d54z17rllr0_s7wf280000gn/T/processing2184511611404286206menubar/libjAppleMenuBar.jnilib:
dlopen(/private/var/folders/zd/vgjzf6d54z17rllr0_s7wf280000gn/T/processing2184511611404286206menubar/libjAppleMenuBar.jnilib, 0x0001): 
tried: '/private/var/folders/zd/vgjzf6d54z17rllr0_s7wf280000gn/T/processing2184511611404286206menubar/libjAppleMenuBar.jnilib' 
(fat file, but missing compatible architecture (have 'x86_64,i386', need 'arm64e')), 
'/usr/lib/libjAppleMenuBar.jnilib' (no such file)

Your Environment

  • Processing version: Processing 4.0b4
  • Operating System and OS version: macOS 12.1 / macbook pro 16 m1

Possible Causes / Solutions

libjAppleMenuBar.jnilib needs to be compiled for apple silicon.
I tried build it but the API(Carbon, SetSystemUIMode) is too old.

@processing-bot
Copy link
Collaborator Author

Created by: benfry

Ok, good to know. We already have an issue open for that #221, but this obviously increases the importance.

@processing-bot
Copy link
Collaborator Author

Created by: benfry

Fixed for 4.0 beta 5.

@processing-bot
Copy link
Collaborator Author

Created by: github-actions[bot]

This issue has been automatically locked. To avoid confusion with reports that have already been resolved, closed issues are automatically locked 30 days after the last comment. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 17, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant