Open jimenezjose opened 2 months ago
Here is the Makefile, and the run script
I also tried specifying a tmpdir -Djava.io.tmpdir=/Users/josejimenezjr/micromouse-simulator-temp
FYI, I just ran into the same issue myself after building the current source from scratch, then attempting to call SerialPort.getCommPorts():
Exception in thread "main" java.lang.UnsatisfiedLinkError: Cannot load native library. Errors as follows:
[1]: no jSerialComm in java.library.path: /Users/jeff/Library/Java/Extensions:/Library/Java/Extensions:/Network/Library/Java/Extensions:/System/Library/Java/Extensions:/usr/lib/java:.
at com.fazecast.jSerialComm.SerialPort.<clinit>(SerialPort.java:273)
at com.fazecast.jSerialComm.HighThroughputNullmodemTest.main(HighThroughputNullmodemTest.java:64)
Execution failed for task ':com.fazecast.jSerialComm.HighThroughputNullmodemTest.main()'.
NOTE: In order to get it to compile, I had to change sourceCompatibility and targetCompatibility (in build.gradle) from 6 to 7. This might (or might not) be significant.
I already tried the following:
I am still running into issues.
It wasn't well documented, but the way I tried overriding the architecture was by using
java -Dos.arch_full=armv8_64 -cp ...
Thank you in advance. I left the complete error at the bottom.