rxtx problem.
in
Core Library Questions
•
2 months ago
Hello. I have got problem which serial port.
My error
WARNING: RXTX Version mismatchJar version = RXTX-2.2pre1native lib Version = RXTX-2.2pre2
This was similar topic.
filepath was a litte bit differentand download rxtx-2.1-7-bins-r2.zip from "Binary" column.goto C:\Users\Downloads\rxtx-2.1-7-bins-r2.zip\rxtx-2.1-7-bins-r2and copy RXTXcomm toC:\Program Files\processing-1.5.1\java\lib\extgoto C:\Users\Downloads\rxtx-2.1-7-bins-r2.zip\rxtx-2.1-7-bins-r2\Windows\i368-mingw32and copy both rxtxParallel.dll and rxtxSerial.dll toC:\Program Files\processing-1.5.1\java\bin
I copied RXTXcomm to processing-1.5.1\modes\java\libraries\serial\library
And also
rxtxParallel.dll and rxtxSerial.dll files to
processing-1.5.1\modes\java\libraries\serial\bin
When I run SimpleRead example I have got true errors.
- java.lang.UnsatisfiedLinkError: D:\programy\processing\processing-1.5.1\modes\java\libraries\serial\library\windows64\rxtxSerial.dll: Can't find dependent libraries thrown while loading gnu.io.RXTXCommDriver
- java.lang.UnsatisfiedLinkError: D:\programy\processing\processing-1.5.1\modes\java\libraries\serial\library\windows64\rxtxSerial.dll: Can't find dependent libraries
- at java.lang.ClassLoader$NativeLibrary.load(Native Method)
- at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1807)
- at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1732)
- at java.lang.Runtime.loadLibrary0(Runtime.java:823)
- at java.lang.System.loadLibrary(System.java:1028)
- at gnu.io.CommPortIdentifier.<clinit>(CommPortIdentifier.java:123)
- at processing.serial.Serial.list(Unknown Source)
- at SimpleRead.setup(SimpleRead.java:43)
- at processing.core.PApplet.handleDraw(Unknown Source)
- at processing.core.PApplet.run(Unknown Source)
- at java.lang.Thread.run(Thread.java:662)
- Exception in thread "Animation Thread" java.lang.RuntimeException: Error inside Serial.ports()
- at processing.serial.Serial.errorMessage(Unknown Source)
- at processing.serial.Serial.list(Unknown Source)
- at SimpleRead.setup(SimpleRead.java:43)
- at processing.core.PApplet.handleDraw(Unknown Source)
- at processing.core.PApplet.run(Unknown Source)
- at java.lang.Thread.run(Thread.java:662)
I do not know where the problem is?
Maybe I copied
rxtxParallel.dll and rxtxSerial.dll files to wrong folder?
Thanks for any reply:)
1