Open Brawl345 opened 1 year ago
any fix?
The actual ARM64 issue seems to be related to JavaFX and not a problem of emuiigen itself The second issue is being worked on right now (issues with Windows in general), soon will update the release fixing it
I was able to get around this issue by compiling myself using version 17.0.2 of JavaFX
The new emuiigen does not work on ARM64 systems. Tested Windows, macOS and Linux, should be the same error.
macOS Log
```log Aug. 20, 2023 11:23:01 PM com.sun.javafx.application.PlatformImpl startup WARNUNG: Unsupported JavaFX configuration: classes were loaded from 'unnamed module @3196eefd' Loading library prism_es2 from resource failed: java.lang.UnsatisfiedLinkError: /Users/xyz/.openjfx/cache/17/libprism_es2.dylib: dlopen(/Users/xyz/.openjfx/cache/17/libprism_es2.dylib, 0x0001): tried: '/Users/xyz/.openjfx/cache/17/libprism_es2.dylib' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64')), '/System/Volumes/Preboot/Cryptexes/OS/Users/xyz/.openjfx/cache/17/libprism_es2.dylib' (no such file), '/Users/xyz/.openjfx/cache/17/libprism_es2.dylib' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64')) java.lang.UnsatisfiedLinkError: /Users/xyz/.openjfx/cache/17/libprism_es2.dylib: dlopen(/Users/xyz/.openjfx/cache/17/libprism_es2.dylib, 0x0001): tried: '/Users/xyz/.openjfx/cache/17/libprism_es2.dylib' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64')), '/System/Volumes/Preboot/Cryptexes/OS/Users/xyz/.openjfx/cache/17/libprism_es2.dylib' (no such file), '/Users/xyz/.openjfx/cache/17/libprism_es2.dylib' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64')) at java.base/jdk.internal.loader.NativeLibraries.load(Native Method) at java.base/jdk.internal.loader.NativeLibraries$NativeLibraryImpl.open(NativeLibraries.java:388) at java.base/jdk.internal.loader.NativeLibraries.loadLibrary(NativeLibraries.java:232) at java.base/jdk.internal.loader.NativeLibraries.loadLibrary(NativeLibraries.java:174) at java.base/java.lang.ClassLoader.loadLibrary(ClassLoader.java:2394) at java.base/java.lang.Runtime.load0(Runtime.java:755) at java.base/java.lang.System.load(System.java:1953) at com.sun.glass.utils.NativeLibLoader.installLibraryFromResource(NativeLibLoader.java:217) at com.sun.glass.utils.NativeLibLoader.loadLibraryFromResource(NativeLibLoader.java:197) at com.sun.glass.utils.NativeLibLoader.loadLibraryInternal(NativeLibLoader.java:138) at com.sun.glass.utils.NativeLibLoader.loadLibrary(NativeLibLoader.java:54) at com.sun.prism.es2.ES2Pipeline.lambda$static$0(ES2Pipeline.java:63) at java.base/java.security.AccessController.doPrivileged(AccessController.java:318) at com.sun.prism.es2.ES2Pipeline.Windows Log
```log java -jar emuiigen.jar Aug. 20, 2023 11:25:49 PM com.sun.javafx.application.PlatformImpl startup WARNUNG: Unsupported JavaFX configuration: classes were loaded from 'unnamed module @46873fbc' Loading library ucrtbase from resource failed: java.lang.UnsatisfiedLinkError: C:\Users\xyz\.openjfx\cache\17\ucrtbase.dll: Can't load AMD 64-bit .dll on a ARM 64-bit platform java.lang.UnsatisfiedLinkError: C:\Users\xyz\.openjfx\cache\17\ucrtbase.dll: Can't load AMD 64-bit .dll on a ARM 64-bit platform at java.base/jdk.internal.loader.NativeLibraries.load(Native Method) at java.base/jdk.internal.loader.NativeLibraries$NativeLibraryImpl.open(NativeLibraries.java:388) at java.base/jdk.internal.loader.NativeLibraries.loadLibrary(NativeLibraries.java:232) at java.base/jdk.internal.loader.NativeLibraries.loadLibrary(NativeLibraries.java:174) at java.base/java.lang.ClassLoader.loadLibrary(ClassLoader.java:2394) at java.base/java.lang.Runtime.load0(Runtime.java:755) at java.base/java.lang.System.load(System.java:1953) at com.sun.glass.utils.NativeLibLoader.installLibraryFromResource(NativeLibLoader.java:217) at com.sun.glass.utils.NativeLibLoader.loadLibraryFromResource(NativeLibLoader.java:197) at com.sun.glass.utils.NativeLibLoader.loadLibraryInternal(NativeLibLoader.java:138) at com.sun.glass.utils.NativeLibLoader.loadLibrary(NativeLibLoader.java:54) at com.sun.javafx.tk.Toolkit.loadMSWindowsLibraries(Toolkit.java:175) at com.sun.javafx.tk.Toolkit.getToolkit(Toolkit.java:216) at com.sun.javafx.application.PlatformImpl.startup(PlatformImpl.java:291) at com.sun.javafx.application.PlatformImpl.startup(PlatformImpl.java:163) at com.sun.javafx.application.LauncherImpl.startToolkit(LauncherImpl.java:659) at com.sun.javafx.application.LauncherImpl.launchApplication1(LauncherImpl.java:679) at com.sun.javafx.application.LauncherImpl.lambda$launchApplication$2(LauncherImpl.java:196) at java.base/java.lang.Thread.run(Thread.java:833) Loading library vcruntime140 from resource failed: java.lang.UnsatisfiedLinkError: C:\Users\xyz\.openjfx\cache\17\vcruntime140.dll: Can't load AMD 64-bit .dll on a ARM 64-bit platform java.lang.UnsatisfiedLinkError: C:\Users\xyz\.openjfx\cache\17\vcruntime140.dll: Can't load AMD 64-bit .dll on a ARM 64-bit platform at java.base/jdk.internal.loader.NativeLibraries.load(Native Method) at java.base/jdk.internal.loader.NativeLibraries$NativeLibraryImpl.open(NativeLibraries.java:388) at java.base/jdk.internal.loader.NativeLibraries.loadLibrary(NativeLibraries.java:232) at java.base/jdk.internal.loader.NativeLibraries.loadLibrary(NativeLibraries.java:174) at java.base/java.lang.ClassLoader.loadLibrary(ClassLoader.java:2394) at java.base/java.lang.Runtime.load0(Runtime.java:755) at java.base/java.lang.System.load(System.java:1953) at com.sun.glass.utils.NativeLibLoader.installLibraryFromResource(NativeLibLoader.java:217) at com.sun.glass.utils.NativeLibLoader.loadLibraryFromResource(NativeLibLoader.java:197) at com.sun.glass.utils.NativeLibLoader.loadLibraryInternal(NativeLibLoader.java:138) at com.sun.glass.utils.NativeLibLoader.loadLibrary(NativeLibLoader.java:54) at com.sun.javafx.tk.Toolkit.loadMSWindowsLibraries(Toolkit.java:175) at com.sun.javafx.tk.Toolkit.getToolkit(Toolkit.java:216) at com.sun.javafx.application.PlatformImpl.startup(PlatformImpl.java:291) at com.sun.javafx.application.PlatformImpl.startup(PlatformImpl.java:163) at com.sun.javafx.application.LauncherImpl.startToolkit(LauncherImpl.java:659) at com.sun.javafx.application.LauncherImpl.launchApplication1(LauncherImpl.java:679) at com.sun.javafx.application.LauncherImpl.lambda$launchApplication$2(LauncherImpl.java:196) at java.base/java.lang.Thread.run(Thread.java:833) Loading library vcruntime140_1 from resource failed: java.lang.UnsatisfiedLinkError: C:\Users\xyz\.openjfx\cache\17\vcruntime140_1.dll: Can't load AMD 64-bit .dll on a ARM 64-bit platform java.lang.UnsatisfiedLinkError: C:\Users\xyz\.openjfx\cache\17\vcruntime140_1.dll: Can't load AMD 64-bit .dll on a ARM 64-bit platform at java.base/jdk.internal.loader.NativeLibraries.load(Native Method) at java.base/jdk.internal.loader.NativeLibraries$NativeLibraryImpl.open(NativeLibraries.java:388) at java.base/jdk.internal.loader.NativeLibraries.loadLibrary(NativeLibraries.java:232) at java.base/jdk.internal.loader.NativeLibraries.loadLibrary(NativeLibraries.java:174) at java.base/java.lang.ClassLoader.loadLibrary(ClassLoader.java:2394) at java.base/java.lang.Runtime.load0(Runtime.java:755) at java.base/java.lang.System.load(System.java:1953) at com.sun.glass.utils.NativeLibLoader.installLibraryFromResource(NativeLibLoader.java:217) at com.sun.glass.utils.NativeLibLoader.loadLibraryFromResource(NativeLibLoader.java:197) at com.sun.glass.utils.NativeLibLoader.loadLibraryInternal(NativeLibLoader.java:138) at com.sun.glass.utils.NativeLibLoader.loadLibrary(NativeLibLoader.java:54) at com.sun.javafx.tk.Toolkit.loadMSWindowsLibraries(Toolkit.java:175) at com.sun.javafx.tk.Toolkit.getToolkit(Toolkit.java:216) at com.sun.javafx.application.PlatformImpl.startup(PlatformImpl.java:291) at com.sun.javafx.application.PlatformImpl.startup(PlatformImpl.java:163) at com.sun.javafx.application.LauncherImpl.startToolkit(LauncherImpl.java:659) at com.sun.javafx.application.LauncherImpl.launchApplication1(LauncherImpl.java:679) at com.sun.javafx.application.LauncherImpl.lambda$launchApplication$2(LauncherImpl.java:196) at java.base/java.lang.Thread.run(Thread.java:833) Loading library msvcp140 from resource failed: java.lang.UnsatisfiedLinkError: C:\Users\xyz\.openjfx\cache\17\msvcp140.dll: Can't load AMD 64-bit .dll on a ARM 64-bit platform java.lang.UnsatisfiedLinkError: C:\Users\xyz\.openjfx\cache\17\msvcp140.dll: Can't load AMD 64-bit .dll on a ARM 64-bit platform at java.base/jdk.internal.loader.NativeLibraries.load(Native Method) at java.base/jdk.internal.loader.NativeLibraries$NativeLibraryImpl.open(NativeLibraries.java:388) at java.base/jdk.internal.loader.NativeLibraries.loadLibrary(NativeLibraries.java:232) at java.base/jdk.internal.loader.NativeLibraries.loadLibrary(NativeLibraries.java:174) at java.base/java.lang.ClassLoader.loadLibrary(ClassLoader.java:2394) at java.base/java.lang.Runtime.load0(Runtime.java:755) at java.base/java.lang.System.load(System.java:1953) at com.sun.glass.utils.NativeLibLoader.installLibraryFromResource(NativeLibLoader.java:217) at com.sun.glass.utils.NativeLibLoader.loadLibraryFromResource(NativeLibLoader.java:197) at com.sun.glass.utils.NativeLibLoader.loadLibraryInternal(NativeLibLoader.java:138) at com.sun.glass.utils.NativeLibLoader.loadLibrary(NativeLibLoader.java:54) at com.sun.javafx.tk.Toolkit.loadMSWindowsLibraries(Toolkit.java:175) at com.sun.javafx.tk.Toolkit.getToolkit(Toolkit.java:216) at com.sun.javafx.application.PlatformImpl.startup(PlatformImpl.java:291) at com.sun.javafx.application.PlatformImpl.startup(PlatformImpl.java:163) at com.sun.javafx.application.LauncherImpl.startToolkit(LauncherImpl.java:659) at com.sun.javafx.application.LauncherImpl.launchApplication1(LauncherImpl.java:679) at com.sun.javafx.application.LauncherImpl.lambda$launchApplication$2(LauncherImpl.java:196) at java.base/java.lang.Thread.run(Thread.java:833) Loading library prism_d3d from resource failed: java.lang.UnsatisfiedLinkError: C:\Users\xyz\.openjfx\cache\17\prism_d3d.dll: Can't load AMD 64-bit .dll on a ARM 64-bit platform java.lang.UnsatisfiedLinkError: C:\Users\xyz\.openjfx\cache\17\prism_d3d.dll: Can't load AMD 64-bit .dll on a ARM 64-bit platform at java.base/jdk.internal.loader.NativeLibraries.load(Native Method) at java.base/jdk.internal.loader.NativeLibraries$NativeLibraryImpl.open(NativeLibraries.java:388) at java.base/jdk.internal.loader.NativeLibraries.loadLibrary(NativeLibraries.java:232) at java.base/jdk.internal.loader.NativeLibraries.loadLibrary(NativeLibraries.java:174) at java.base/java.lang.ClassLoader.loadLibrary(ClassLoader.java:2394) at java.base/java.lang.Runtime.load0(Runtime.java:755) at java.base/java.lang.System.load(System.java:1953) at com.sun.glass.utils.NativeLibLoader.installLibraryFromResource(NativeLibLoader.java:217) at com.sun.glass.utils.NativeLibLoader.loadLibraryFromResource(NativeLibLoader.java:197) at com.sun.glass.utils.NativeLibLoader.loadLibraryInternal(NativeLibLoader.java:138) at com.sun.glass.utils.NativeLibLoader.loadLibrary(NativeLibLoader.java:54) at com.sun.prism.d3d.D3DPipeline.lambda$static$0(D3DPipeline.java:54) at java.base/java.security.AccessController.doPrivileged(AccessController.java:318) at com.sun.prism.d3d.D3DPipeline.Ubuntu Log
```log Aug 20, 2023 11:31:04 PM com.sun.javafx.application.PlatformImpl startup WARNING: Unsupported JavaFX configuration: classes were loaded from 'unnamed module @34ca739f' Loading library prism_es2 from resource failed: java.lang.UnsatisfiedLinkError: /home/xyz/.openjfx/cache/17/libprism_es2.so: /home/xyz/.openjfx/cache/17/libprism_es2.so: cannot open shared object file: No such file or directory (Possible cause: can't load AMD 64 .so on a AARCH64 platform) java.lang.UnsatisfiedLinkError: /home/xyz/.openjfx/cache/17/libprism_es2.so: /home/xyz/.openjfx/cache/17/libprism_es2.so: cannot open shared object file: No such file or directory (Possible cause: can't load AMD 64 .so on a AARCH64 platform) at java.base/jdk.internal.loader.NativeLibraries.load(Native Method) at java.base/jdk.internal.loader.NativeLibraries$NativeLibraryImpl.open(NativeLibraries.java:388) at java.base/jdk.internal.loader.NativeLibraries.loadLibrary(NativeLibraries.java:232) at java.base/jdk.internal.loader.NativeLibraries.loadLibrary(NativeLibraries.java:174) at java.base/java.lang.ClassLoader.loadLibrary(ClassLoader.java:2394) at java.base/java.lang.Runtime.load0(Runtime.java:755) at java.base/java.lang.System.load(System.java:1953) at com.sun.glass.utils.NativeLibLoader.installLibraryFromResource(NativeLibLoader.java:217) at com.sun.glass.utils.NativeLibLoader.loadLibraryFromResource(NativeLibLoader.java:197) at com.sun.glass.utils.NativeLibLoader.loadLibraryInternal(NativeLibLoader.java:138) at com.sun.glass.utils.NativeLibLoader.loadLibrary(NativeLibLoader.java:54) at com.sun.prism.es2.ES2Pipeline.lambda$static$0(ES2Pipeline.java:63) at java.base/java.security.AccessController.doPrivileged(AccessController.java:318) at com.sun.prism.es2.ES2Pipeline.It "works" with an x86 Java but it doesn't show any amiibo: