Sammy1Am / Moppy2

The evolution of the Musical flOPPY controller
Other
309 stars 50 forks source link

ARM64 windows cannot launch MoppyControl #179

Open mentaluproar opened 1 year ago

mentaluproar commented 1 year ago

Error message: Exception in thread "main" java.lang.UnsatisfiedLinkError: C:\Users\seancarson\AppData\Local\Temp\jSerialComm\1669603000103-jSerialComm.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:2389) at java.base/java.lang.Runtime.load0(Runtime.java:755) at java.base/java.lang.System.load(System.java:1953) at com.fazecast.jSerialComm.SerialPort.(SerialPort.java:248) at com.moppy.core.comms.bridge.BridgeSerial.getAvailableSerials(BridgeSerial.java:31) at com.moppy.control.NetworkManager.(NetworkManager.java:53) at com.moppy.control.MoppyControlGUI.main(MoppyControlGUI.java:41)

Using openJDK 17

Sammy1Am commented 1 year ago

Okay, I don't have time to dig all the way into this at the moment, but if you're feeling adventurous:

jSerialComm seems to be having some issues, but I also noticed that was the issue when attempting to launch on your Mac as well, so I think that's our culprit. Here's at least two things to try (in either order):

If you do manage to get either of these to work, let me know. Otherwise this might need to wait until I have time to setup a dev environment again.

mentaluproar commented 1 year ago

-blink-

huh?

I’ll have to wait for you then. Obviously there’s no hurry. I appreciate how responsive you’ve been.