mirror of
https://github.com/processing/processing4.git
synced 2026-01-29 11:21:06 +01:00
Linux people are used to confusion and misery
Let them know what's wrong when an UnsatisfiedLinkError hits. This could also be a missing external dependency that library's dynamic library requests, for example.
This commit is contained in:
@@ -670,6 +670,9 @@ public class Runner implements MessageConsumer {
|
||||
}
|
||||
} else if (exceptionClass.equals("java.lang.UnsatisfiedLinkError")) {
|
||||
listener.statusError("A library used by this sketch is not installed properly.");
|
||||
if (PApplet.platform == PConstants.LINUX) {
|
||||
System.out.println(message);
|
||||
}
|
||||
err.println("A library relies on native code that's not available.");
|
||||
err.println("Or only works properly when the sketch is run as a " +
|
||||
((Platform.getNativeBits() == 32) ? "64-bit" : "32-bit") + " application.");
|
||||
|
||||
Reference in New Issue
Block a user