-
Notifications
You must be signed in to change notification settings - Fork 726
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
Support for Mac M1 arm64 #284
Comments
That needs to wait until SWT (the UI toolkit) for M1 is available
…On Mon, Apr 5, 2021, 14:20 Daniel Porto ***@***.***> wrote:
Title sums it up.
Currently there is no release nor the code compiles for Mac M1
Would be nice to have an universal version that installs via brew on both
Mac architectures.
thanks
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#284>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAGXKYFEWIHYAXKNN3WNMYLTHGMI7ANCNFSM42MU3BJQ>
.
|
Was also using SWT in another project and it looks like in the last two weeks they have addressed this: https://bugs.eclipse.org/bugs/show_bug.cgi?id=565690 |
@angryziber indeed you are right. |
I am trying to launch Angry on macOS Monterey 12.0.1 on an M1 Mac Mini... it just bounces forever and requires a force-quit. I tried to launch from Terminal so I could see what was going on, it seems to be complaining about SWT still. I have java JDK 17.0.1 (arm) installed java -XstartOnFirstThread -jar ./ipscan-mac-3.7.6.jar
java.lang.UnsatisfiedLinkError: Could not load SWT library. Reasons:
no swt-cocoa-4940r23 in java.library.path: /Users/luke/Library/Java/Extensions:/Library/Java/Extensions:/Network/Library/Java/Extensions:/System/Library/Java/Extensions:/usr/lib/java:.
no swt-cocoa in java.library.path: /Users/luke/Library/Java/Extensions:/Library/Java/Extensions:/Network/Library/Java/Extensions:/System/Library/Java/Extensions:/usr/lib/java:.
/Users/luke/.swt/lib/macosx/aarch64/libswt-cocoa-4940r23.jnilib: dlopen(/Users/luke/.swt/lib/macosx/aarch64/libswt-cocoa-4940r23.jnilib, 0x0001): tried: '/Users/luke/.swt/lib/macosx/aarch64/libswt-cocoa-4940r23.jnilib' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64e')), '/usr/lib/libswt-cocoa-4940r23.jnilib' (no such file)
Can't load library: /Users/luke/.swt/lib/macosx/aarch64/libswt-cocoa.jnilib
/Users/luke/.swt/lib/macosx/aarch64/libswt-cocoa-4940r23.jnilib: dlopen(/Users/luke/.swt/lib/macosx/aarch64/libswt-cocoa-4940r23.jnilib, 0x0001): tried: '/Users/luke/.swt/lib/macosx/aarch64/libswt-cocoa-4940r23.jnilib' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64e')), '/usr/lib/libswt-cocoa-4940r23.jnilib' (no such file)
at org.eclipse.swt.internal.Library.loadLibrary(Library.java:338)
at org.eclipse.swt.internal.Library.loadLibrary(Library.java:257)
at org.eclipse.swt.internal.C.<clinit>(C.java:19)
at org.eclipse.swt.widgets.Display.<clinit>(Display.java:107)
at net.azib.ipscan.gui.GUI.<init>(GUI.java:29)
at net.azib.ipscan.Main.main(Main.java:47) |
It doesn't even bounce here, it just doesn't do anything. The icon doesn't even appear. I tried the PR from @aplr but that didn't work for me due to some java errors (got the JRE and JDK). |
@ju5t what exactly did not work for you? I also had to mess around with the jdk/jre settings in Idea, I'm definitely not a Java guy. However I did not commit these changes as I thought these were quite environment-specific and might interfere with the existing release configuration. |
@aplr I'm not a Java guy either. I just installed the JRE and JDK and tried to run the ./gradle commands. The error I got was:
|
3.8.0 released |
Title sums it up.
Currently there is no release nor the code compiles for Mac M1
Would be nice to have an universal version that installs via brew on both Mac architectures.
thanks
The text was updated successfully, but these errors were encountered: