Myo & Serial libraries appear to be clashing

edited December 2015 in Library Questions

Dear all, I'm having an issue with a sketch in which I'm accessing data from both the Myo (using the MyoForProcessing library) and a homebrew bluetooth device that I'm connecting to using the Serial library.

The error is as follows: java.lang.UnsatisfiedLinkError: jssc.SerialNativeInterface.openPort(Ljava/lang/String;Z)J A library relies on native code that's not available. Or only works properly when the sketch is run as a 32-bit application. at processing.opengl.PSurfaceJOGL$2.run(PSurfaceJOGL.java:444) at java.lang.Thread.run(Thread.java:745)

Both elements of the sketch can be connected to individually in the same sketch if the other is commented out, leading me to believe there's a library clash going on; how could I work around this? Many thanks, Oliver

Answers

  • Just of note, I'm on Mac Yosemite 10.10.3

    The code that causes the error: myo = new Myo(this); OR port = new Serial(this, portName, 38400);

Sign In or Register to comment.