mirror of
https://github.com/processing/processing4.git
synced 2026-06-16 04:26:26 +02:00
attempt to fix 32bit load library problem with little success.
This commit is contained in:
@@ -9,11 +9,21 @@ public class MethClaInterface
|
||||
String arch = System.getProperty("os.arch");
|
||||
|
||||
if (osName.startsWith("Win")){
|
||||
System.loadLibrary("LIBWINPTHREAD-1");
|
||||
System.loadLibrary("LIBSNDFILE-1");
|
||||
System.loadLibrary("LIBMPG123-0");
|
||||
System.loadLibrary("LIBMETHCLA");
|
||||
System.loadLibrary("LIBMETHCLAINTERFACE");
|
||||
if (arch.equals("x86")){
|
||||
System.loadLibrary("LIBWINPTHREAD-1");
|
||||
System.loadLibrary("LIBSNDFILE-1");
|
||||
System.loadLibrary("LIBGCC_S_SJLJ-1");
|
||||
System.loadLibrary("LIBMPG123-0");
|
||||
System.loadLibrary("LIBMETHCLA");
|
||||
System.loadLibrary("LIBMETHCLAINTERFACE");
|
||||
}
|
||||
else {
|
||||
System.loadLibrary("LIBWINPTHREAD-1");
|
||||
System.loadLibrary("LIBSNDFILE-1");
|
||||
System.loadLibrary("LIBMPG123-0");
|
||||
System.loadLibrary("LIBMETHCLA");
|
||||
System.loadLibrary("LIBMETHCLAINTERFACE");
|
||||
}
|
||||
}
|
||||
else if (osName.startsWith("Mac")){
|
||||
System.loadLibrary("MethClaInterface");
|
||||
|
||||
Reference in New Issue
Block a user