FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

attempt to fix 32bit load library problem with little success. · GoToLoop/processing@c49a9d9 · GitHub

Repository navigation

Commit c49a9d9

Browse files
committed
attempt to fix 32bit load library problem with little success.
1 parent e1a4071 commit c49a9d9

1 file changed

Lines changed: 15 additions & 5 deletions

File tree

‎java/libraries/sound/src/processing/sound/MethClaInterface.java‎

Lines changed: 15 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,21 @@ public class MethClaInterface
99
String arch = System.getProperty("os.arch");
1010

1111
if (osName.startsWith("Win")){
12-
System.loadLibrary("LIBWINPTHREAD-1");
13-
System.loadLibrary("LIBSNDFILE-1");
14-
System.loadLibrary("LIBMPG123-0");
15-
System.loadLibrary("LIBMETHCLA");
16-
System.loadLibrary("LIBMETHCLAINTERFACE");
12+
if (arch.equals("x86")){
13+
System.loadLibrary("LIBWINPTHREAD-1");
14+
System.loadLibrary("LIBSNDFILE-1");
15+
System.loadLibrary("LIBGCC_S_SJLJ-1");
16+
System.loadLibrary("LIBMPG123-0");
17+
System.loadLibrary("LIBMETHCLA");
18+
System.loadLibrary("LIBMETHCLAINTERFACE");
19+
}
20+
else {
21+
System.loadLibrary("LIBWINPTHREAD-1");
22+
System.loadLibrary("LIBSNDFILE-1");
23+
System.loadLibrary("LIBMPG123-0");
24+
System.loadLibrary("LIBMETHCLA");
25+
System.loadLibrary("LIBMETHCLAINTERFACE");
26+
}
1727
}
1828
else if (osName.startsWith("Mac")){
1929
System.loadLibrary("MethClaInterface");

0 commit comments

Comments
 (0)

Back | FazBrowse Home | New Git URL